Skip to content

Commit

Permalink
BC-5101 - go back to docker/build-push-action@v4 for push workflow
Browse files Browse the repository at this point in the history
Remove lines who produce the malformed docker.config
  • Loading branch information
mamutmk5 authored Sep 11, 2023
1 parent dee3e90 commit 7913fc6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7913fc6

Please sign in to comment.