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 : Publish
113
113
id : push
@@ -116,21 +116,21 @@ jobs:
116
116
image : ${{ steps.build_image.outputs.image }}
117
117
tags : ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}
118
118
registry : ${{ env.IMAGE_REGISTRY }}
119
- if : github.event_name == 'push' && github.ref == 'refs/heads/main '
119
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication '
120
120
121
121
- name : Generate attestation for images
122
122
uses : actions/attest-build-provenance@v2
123
123
with :
124
124
subject-name : ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}
125
125
subject-digest : ${{ steps.push.outputs.digest }}
126
126
push-to-registry : true
127
- if : github.event_name == 'push' && github.ref == 'refs/heads/main '
127
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication '
128
128
129
129
mark-previous-version :
130
130
needs : [build, meta]
131
131
runs-on : ubuntu-latest
132
132
133
- if : github.event_name == 'push' && github.ref == 'refs/heads/main ' && needs.build.outputs.current-version != needs.meta.outputs.latest-version
133
+ if : github.event_name == 'push' && github.ref == 'refs/heads/test-publication ' && needs.build.outputs.current-version != needs.meta.outputs.latest-version
134
134
135
135
permissions :
136
136
contents : write
0 commit comments