forked from jenkins-infra/packer-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(updatecli):Track docker image digests for
ubuntu 22_04 AMD64
…
…and `ubuntu 22_04 ARM64` (jenkins-infra#1508) * chore(updatecli):Track docker image digests for ubuntu 22_04 AMD64 and ARM64 Signed-off-by: jayfranco999 <[email protected]> * fixup Signed-off-by: jayfranco999 <[email protected]> * fixup Signed-off-by: jayfranco999 <[email protected]> --------- Signed-off-by: jayfranco999 <[email protected]> Co-authored-by: Damien Duportal <[email protected]>
- Loading branch information
1 parent
1638182
commit 015a79d
Showing
4 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
updatecli/updatecli.d/docker-ubuntu-22-04-amd64-images.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Bump docker `ubuntu 22_04 amd64` image version | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
user: "{{ .github.user }}" | ||
email: "{{ .github.email }}" | ||
owner: "{{ .github.owner }}" | ||
repository: "{{ .github.repository }}" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
branch: "{{ .github.branch }}" | ||
|
||
sources: | ||
lastDockerDigest: | ||
kind: dockerdigest | ||
spec: | ||
image: "ubuntu" | ||
tag: "22.04" | ||
architecture: "amd64" | ||
|
||
targets: | ||
updateDigest: | ||
name: Update docker `ubuntu 22_04 amd64` image version in locals | ||
sourceid: lastDockerDigest | ||
kind: yaml | ||
scmid: default | ||
spec: | ||
file: ./images-versions.yaml | ||
key: $.docker.ubuntu.'22.04'.amd64 | ||
transformers: | ||
- trimprefix: '22.04@' | ||
|
||
actions: | ||
default: | ||
kind: github/pullrequest | ||
scmid: default | ||
spec: | ||
title: Bump docker `ubuntu 22_04 amd64` image version | ||
description: "Follow up docker images for ubuntu 22_04 amd64" | ||
labels: | ||
- enhancement |
44 changes: 44 additions & 0 deletions
44
updatecli/updatecli.d/docker-ubuntu-22-04-arm64-images.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Bump docker `ubuntu 22_04 arm64` image version | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
user: "{{ .github.user }}" | ||
email: "{{ .github.email }}" | ||
owner: "{{ .github.owner }}" | ||
repository: "{{ .github.repository }}" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
branch: "{{ .github.branch }}" | ||
|
||
sources: | ||
lastDockerDigest: | ||
kind: dockerdigest | ||
spec: | ||
image: "ubuntu" | ||
tag: "22.04" | ||
architecture: "arm64" | ||
|
||
targets: | ||
updateDigest: | ||
name: Update docker `ubuntu 22_04 arm64` image version in locals | ||
sourceid: lastDockerDigest | ||
kind: yaml | ||
scmid: default | ||
spec: | ||
file: ./images-versions.yaml | ||
key: $.docker.ubuntu.'22.04'.arm64 | ||
transformers: | ||
- trimprefix: '22.04@' | ||
|
||
actions: | ||
default: | ||
kind: github/pullrequest | ||
scmid: default | ||
spec: | ||
title: Bump docker `ubuntu 22_04 arm64` image version | ||
description: "Follow up docker images for ubuntu 22_04 arm64" | ||
labels: | ||
- enhancement |