Skip to content

Commit

Permalink
BC-5101 - go back to docker/build-push-action@v4 (#2796)
Browse files Browse the repository at this point in the history
* BC-5101 - go back to docker/build-push-action@v4 for push workflow

Remove lines who produce the malformed docker.config

* BC-5101 - go back to docker/build-push-action@v4 for tag action
  • Loading branch information
mamutmk5 authored Sep 11, 2023
1 parent ec662d5 commit 2fccb56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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:
build-args: |
SC_THEME=${{ matrix.tenants }}
Expand Down

0 comments on commit 2fccb56

Please sign in to comment.