chore(ci): remove sha_ tags from build docker images

This commit is contained in:
Dominik 2025-05-07 13:39:29 +02:00 committed by Dominik
parent e7fc02c8c9
commit 2c38418770

View file

@ -53,7 +53,7 @@ jobs:
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
with: with:
push: true push: true
tags: git.dominikstahl.dev/${{ env.REPO }}:sha_${{ github.sha }},git.dominikstahl.dev/${{ env.REPO }}:${{ steps.get-ref.outputs.tag}} tags: git.dominikstahl.dev/${{ env.REPO }}:${{ steps.get-ref.outputs.tag}}
- name: Build and push (push_tag) - name: Build and push (push_tag)
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6 uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6
@ -67,4 +67,4 @@ jobs:
if: github.event_name == 'push' && github.ref_type == 'branch' if: github.event_name == 'push' && github.ref_type == 'branch'
with: with:
push: true push: true
tags: git.dominikstahl.dev/${{ env.REPO }}:sha_${{ github.sha }},git.dominikstahl.dev/${{ env.REPO }}:main tags: git.dominikstahl.dev/${{ env.REPO }}:${{ steps.get-ref.outputs.tag }}