Skip to content

Commit

Permalink
config: upgrade github action (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
anrs authored Oct 10, 2022
1 parent dc5a612 commit bde8d38
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ jobs:
with:
fetch-depth: 0

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2

- name: Log in to the ghcr
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to the docker
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -52,9 +55,10 @@ jobs:
- name: Build and push image
if: ${{ steps.meta.outputs.tags != '' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: "."
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}

Expand All @@ -63,6 +67,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: "."
platforms: linux/amd64,linux/arm64
push: true
build-args: |
KEEP_SYMBOL=1
Expand Down

0 comments on commit bde8d38

Please sign in to comment.