Skip to content

Commit

Permalink
update github action docker buildx action to v2
Browse files Browse the repository at this point in the history
This solves random build/push issues.
See: docker/build-push-action#761 (comment)

Signed-off-by: Blaine Gardner <[email protected]>
  • Loading branch information
BlaineEXE committed May 24, 2023
1 parent fbd57ab commit 2ba5b69
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: actions/checkout@v2

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

- name: Build container image
uses: docker/build-push-action@v2
Expand All @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v2

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

- name: Build container image
uses: docker/build-push-action@v2
Expand All @@ -48,7 +48,7 @@ jobs:
uses: docker/setup-qemu-action@v2

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

- name: Build container image
uses: docker/build-push-action@v2
Expand All @@ -70,7 +70,7 @@ jobs:
uses: docker/setup-qemu-action@v2

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

- name: Build container image
uses: docker/build-push-action@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/image-push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand All @@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
uses: docker/setup-qemu-action@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
uses: docker/setup-qemu-action@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: docker/setup-qemu-action@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
uses: docker/setup-qemu-action@v2

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

- name: Login to Container Registry
if: github.repository_owner == 'k8snetworkplumbingwg'
Expand Down

0 comments on commit 2ba5b69

Please sign in to comment.