70
70
containerfiles : |
71
71
Dockerfile
72
72
image : ${{ needs.meta.outputs.implementation-name }}
73
- tags : ${{ github.sha }} ${{ github.ref == 'refs/heads/main ' && 'latest' || '' }}
73
+ tags : ${{ github.sha }} ${{ github.ref == 'refs/heads/test-publication ' && 'latest' || '' }}
74
74
archs : amd64, arm64
75
75
76
76
- name : Set DOCKER_HOST so podman-built images are findable
@@ -107,7 +107,7 @@ jobs:
107
107
username : ${{ github.actor }}
108
108
password : ${{ github.token }}
109
109
registry : ${{ env.IMAGE_REGISTRY }}
110
- if : github.event_name == 'push' && github.ref == 'refs/heads/main '
110
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication '
111
111
112
112
- name : Add tag with version to the image
113
113
run : podman tag ${{ steps.build_image.outputs.image-with-tag }} ${{ steps.build_image.outputs.image }}:${{ steps.current-version.outputs.value }}
@@ -120,21 +120,21 @@ jobs:
120
120
image : ${{ steps.build_image.outputs.image }}
121
121
tags : ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}
122
122
registry : ${{ env.IMAGE_REGISTRY }}
123
- if : github.event_name == 'push' && github.ref == 'refs/heads/main '
123
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication '
124
124
125
125
- name : Generate attestation for images
126
126
uses : actions/attest-build-provenance@v2
127
127
with :
128
128
subject-name : ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}
129
129
subject-digest : ${{ steps.push.outputs.digest }}
130
130
push-to-registry : true
131
- if : github.event_name == 'push' && github.ref == 'refs/heads/main '
131
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication '
132
132
133
133
mark-previous-version :
134
134
needs : [build, meta]
135
135
runs-on : ubuntu-latest
136
136
137
- if : github.event_name == 'push' && github.ref == 'refs/heads/main ' && needs.build.outputs.current-version != needs.meta.outputs.latest-version
137
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication ' && needs.build.outputs.current-version != needs.meta.outputs.latest-version
138
138
139
139
env :
140
140
TAG : v${{ needs.meta.outputs.latest-version }}
0 commit comments