From 0b34b8d214d8a372b39d9f4d70d7b3dbec8f2625 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 11 Sep 2023 09:46:42 +0200 Subject: [PATCH] BC-5101 - go back to docker/build-push-action@v4 for push workflow Remove lines who produce the malformed docker.config --- .github/workflows/push.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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