Skip to content

Commit

Permalink
Bump GitHub Action versions (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdeme authored Sep 27, 2023
1 parent c5257cb commit 0ef5ba2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
uses: actions/checkout@main

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
if: matrix.arch == 'arm64'
with:
platforms: linux/arm64

- name: Setup buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build the image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/${{ matrix.arch }}
load: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,32 +48,32 @@ jobs:
- name: Set up QEMU
if: steps.check_tag.outputs.tag_exists == 'false'
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64

- name: Log in to GitHub registry
if: steps.check_tag.outputs.tag_exists == 'false'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Setup buildx
if: steps.check_tag.outputs.tag_exists == 'false'
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Docker meta
if: steps.check_tag.outputs.tag_exists == 'false'
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}

- name: Build the image
if: steps.check_tag.outputs.tag_exists == 'false'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
Expand Down

0 comments on commit 0ef5ba2

Please sign in to comment.