diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e88a54a..a0ad3ce 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -34,13 +34,11 @@ jobs: - name: test image exists run: | - mkdir -p ~/.docker - echo '{"experimental": "enabled"}' >> ~/.docker/config.json echo "IMAGE_EXISTS=$(docker manifest inspect ghcr.io/${{ github.repository }}:${{ github.sha }} > /dev/null && echo 1 || echo 0)" >> $GITHUB_ENV - name: Build and push ${{ github.repository }} if: ${{ env.IMAGE_EXISTS == 0 }} - uses: docker/build-push-action@v4.1.1 + uses: docker/build-push-action@v4 with: context: . file: ./Dockerfile diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index c23c2e2..d806157 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -38,7 +38,7 @@ jobs: password: ${{ secrets.QUAY_TOKEN }} - name: Build and push ${{ github.repository }} - uses: docker/build-push-action@v4.1.1 + uses: docker/build-push-action@v4 with: context: . file: ./Dockerfile