From 1f6fa3e67e992a4c922864f46c5bb0df3345e163 Mon Sep 17 00:00:00 2001 From: garciagenrique Date: Thu, 3 Oct 2024 14:10:51 +0200 Subject: [PATCH] asking copilot how to fix the ci --- .github/workflows/docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2068adf..2a020ff 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -53,7 +53,8 @@ jobs: if [[ "${{ github.event_name }}" == "pull_request" ]]; then echo "tags=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev" >> $GITHUB_ENV else - echo "tags=${{ steps.meta.outputs.tags }}" >> $GITHUB_ENV + echo "tags=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:sha-${{ github.sha }} + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest" >> $GITHUB_ENV fi - name: Build and push Docker image id: push