Skip to content

Commit

Permalink
enable multi-arch docker
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jul 16, 2024
1 parent 02e17c7 commit 76d4a4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dockerimage-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
run: echo "OWNER_LC=${OWNER,,}" >> "$GITHUB_ENV"
env:
OWNER: '${{ github.repository_owner }}'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Build the Docker images
run: make DISABLE_OPTIMIZATIONS=1 "OWNER=$OWNER_LC"

Expand Down Expand Up @@ -79,6 +81,8 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Build the Docker images
run: make "OWNER=$OWNER_LC" VERSION=edge
- name: Push the Docker images
Expand Down Expand Up @@ -118,6 +122,8 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Build the Docker images
run: make build "OWNER=$OWNER_LC"
- name: Tag and push the Docker images
Expand Down

0 comments on commit 76d4a4f

Please sign in to comment.