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 b1541ba commit 18b9619Copy full SHA for 18b9619
.github/workflows/release-container.yml
@@ -98,6 +98,12 @@ jobs:
98
docker manifest annotate $FQDN:latest $FQDN:$VERSION-amd64 --arch amd64
99
docker manifest annotate $FQDN:latest $FQDN:$VERSION-arm64 --arch arm64
100
- name: Push the multiarch manifests
101
+ shell: bash
102
run: |
103
docker manifest push $FQDN:$VERSION
- docker manifest push $FQDN:latest
104
+
105
+ # Only push the latest tag if this isn't a release candidate (ends with
106
+ # `rc.#`.
107
+ if [[ ! "$VERSION" =~ -rc\.[0-9]+$ ]]; then
108
+ docker manifest push $FQDN:latest
109
+ fi
0 commit comments