Skip to content

Commit 81b127c

Browse files
Merge pull request #46 from smehta99/smehta/latest-tag
Move 'latest' tag to the most recent version
2 parents 34740e3 + 1462261 commit 81b127c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
platforms: linux/amd64,linux/arm64
7070
file: dockerfiles/dnf/Dockerfile
7171
push: true
72-
tags: ghcr.io/openchami/image-build:${{ steps.set_tag.outputs.tag }}
72+
tags:
73+
- ghcr.io/openchami/image-build:${{ steps.set_tag.outputs.tag }}
74+
- ghcr.io/openchami/image-build:latest
7375

7476
- name: Build and push Docker image (EL9)
7577
# Only run this step if a valid tag is computed
@@ -80,7 +82,9 @@ jobs:
8082
platforms: linux/amd64,linux/arm64
8183
file: dockerfiles/dnf/Dockerfile.el9
8284
push: true
83-
tags: ghcr.io/openchami/image-build-el9:${{ steps.set_tag.outputs.tag }}
85+
tags:
86+
- ghcr.io/openchami/image-build-el9:${{ steps.set_tag.outputs.tag }}
87+
- ghcr.io/openchami/image-build-el9:latest
8488

8589
- name: Generate release notes
8690
# Only run this step if version was computed from tag

0 commit comments

Comments
 (0)