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 committed Sep 11, 2023
1 parent ec662d5 commit e392374
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 @@ -53,8 +53,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 }}-${{ matrix.tenants }}:${{ needs.branch_meta.outputs.sha }} > /dev/null && echo 1 || echo 0)" >> $GITHUB_ENV
- name: Set up Docker Buildx
Expand All @@ -63,7 +61,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:
build-args: |
SC_THEME=${{ matrix.tenants }}
Expand Down

0 comments on commit e392374

Please sign in to comment.