From 8618b1d51ce285cf7e43ff83ced7cda6611fe685 Mon Sep 17 00:00:00 2001 From: Michal Liziciar Date: Mon, 30 Sep 2024 09:18:56 +0200 Subject: [PATCH] Add short sha to tags if empty --- .github/workflows/docker.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5e4d7d7..59f7c3a 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -18,5 +18,5 @@ jobs: - uses: docker/build-push-action@v6 with: - push: true - tags: ${{ vars.ACR_URL }}/${{ github.repository }}:${{ steps.meta.outputs.tags }} \ No newline at end of file + push: true + tags: ${{ vars.ACR_URL }}/${{ github.repository }}:${{ steps.meta.outputs.tags || github.sha_short }} \ No newline at end of file