File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 70
70
containerfiles : |
71
71
Dockerfile
72
72
image : ${{ needs.meta.outputs.implementation-name }}
73
- tags : ${{ github.sha }}
73
+ tags : ${{ github.sha }} ${{ github.ref == 'refs/heads/main' && 'latest' || '' }}
74
74
archs : amd64, arm64
75
75
76
76
- name : Set DOCKER_HOST so podman-built images are findable
@@ -111,7 +111,7 @@ jobs:
111
111
uses : redhat-actions/push-to-registry@v2
112
112
with :
113
113
image : ${{ steps.build_image.outputs.image }}
114
- tags : ${{ steps.current-version.outputs.value }} ${{ github.sha }} ${{ github.ref == 'refs/heads/main' && 'latest' || '' }}
114
+ tags : ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}
115
115
registry : ${{ env.IMAGE_REGISTRY }}
116
116
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
117
117
You can’t perform that action at this time.
0 commit comments