Skip to content

Commit

Permalink
Hopefully push the arm64 image to the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Sep 1, 2023
1 parent 3c2faa3 commit 1bdbd6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ on:
jobs:
docker-release:
runs-on: ubuntu-latest
strategy:
matrix:
platform: ["linux/amd64", "linux/arm64"]
steps:
- uses: actions/checkout@v3
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Pull built image
run: docker pull ghcr.io/${{ github.repository }}:${{ github.sha }}
run: docker pull --platform ${{ matrix.platform }} ghcr.io/${{ github.repository }}:${{ github.sha }}
- name: Tag image with version Tag
run: docker tag ghcr.io/${{ github.repository }}:${{ github.sha }} ghcr.io/${{ github.repository }}:${{ github.event.release.name }}
- name: Tag image as latest
Expand Down

0 comments on commit 1bdbd6f

Please sign in to comment.