Only tag v.docker tags with the latest tag

This commit is contained in:
Eric Allam
2023-11-24 16:46:06 +00:00
parent a2f5dc8bc6
commit 56ae0ed0d3
+1 -1
View File
@@ -63,7 +63,7 @@ jobs:
IMAGE_TAG: ${{ steps.get_version.outputs.version }}
- name: 🐙 Push 'latest' to GitHub Container Registry
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v.docker')
run: |
docker tag release_build_image $REGISTRY/$REPOSITORY:latest
docker push $REGISTRY/$REPOSITORY:latest