diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1f2ad76a..2eb15df8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -52,6 +52,7 @@ jobs: run: TAG=newly-baked python -m pytest -s tests - name: Docker meta 📝 + if: always() id: meta uses: docker/metadata-action@v4 with: @@ -64,6 +65,7 @@ jobs: type=match,pattern=v(\d+\.\d+.\d+),group=1 type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} - name: Login to Container Registry 🔑 + if: always() uses: docker/login-action@v2 with: registry: ghcr.io @@ -71,6 +73,7 @@ jobs: password: ${{ secrets.GHCR_TOKEN }} - name: Set tags for image and push 🏷️📤💾 + if: always() run: | declare -a arr=(${{ steps.meta.outputs.tags }}) for tag in "${arr[@]}"; do