Skip to content

Commit

Permalink
chore: fix container version and add aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
06kellyjac committed May 18, 2022
1 parent b52f89f commit 9776046
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,23 @@ jobs:
# username: ${{ github.repository_owner }}
# password: ${{ secrets.CR_PAT }}

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

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

- name: Build container and push tags
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
file: ${{ matrix.containers.file }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: mode=max,type=local,dest=/tmp/.buildx-cache
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
VERSION=v${{ fromJSON(steps.docker_meta.outputs.json).labels['org.opencontainers.image.version'] }}
VERSION=${{ fromJSON(steps.docker_meta.outputs.json).labels['org.opencontainers.image.version'] }}
COMMIT=${{ fromJSON(steps.docker_meta.outputs.json).labels['org.opencontainers.image.revision'] }}

0 comments on commit 9776046

Please sign in to comment.