Skip to content

Commit

Permalink
attempt to fix stuck docker builds (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyNikiforov authored Dec 21, 2023
1 parent df90435 commit 548769e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,12 @@ jobs:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug

- name: Builder instance name
run: echo ${{ steps.buildx.outputs.name }}
Expand All @@ -185,13 +187,13 @@ jobs:
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build Release Docker and Publish
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,21 @@ jobs:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug

- name: Builder instance name
run: echo ${{ steps.buildx.outputs.name }}

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Build Release Docker
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit 548769e

Please sign in to comment.