From 7913fc69829e79b4544a3281f2e63a8cc36c099e Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 11 Sep 2023 09:46:49 +0200 Subject: [PATCH 1/2] 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 cb1ffdc..7051da7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -34,8 +34,6 @@ 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: Set up Docker Buildx @@ -44,7 +42,7 @@ jobs: - 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 From 1694fa2352446434901c4837e62f1ee4d662195a Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 11 Sep 2023 09:49:25 +0200 Subject: [PATCH 2/2] BC-5101 - go back to docker/build-push-action@v4 for tag action --- .github/workflows/tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 96606f3..4a897d6 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