We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe1e1f commit e792e2aCopy full SHA for e792e2a
.github/workflows/release.yml
@@ -148,6 +148,7 @@ jobs:
148
- name: Set up Docker Buildx
149
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 #v3
150
- name: Build and push service image
151
+ id: build_and_push
152
if: steps.hub_image_exists.outputs.exists == 'false'
153
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
154
with:
@@ -167,4 +168,11 @@ jobs:
167
168
provenance: mode=max
169
sbom: true
170
platforms: linux/amd64,linux/arm64
171
+
172
+ - name: Delete git tag created by this workflow
173
+ if: failure() && steps.bump_version.outputs.new_tag != ''
174
+ shell: bash
175
+ run: |
176
+ git push --delete origin ${{ steps.bump_version.outputs.new_tag }}
177
178
0 commit comments