Skip to content

Commit

Permalink
tc
Browse files Browse the repository at this point in the history
  • Loading branch information
msune committed Apr 19, 2024
1 parent 3ced369 commit 33f150b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ on:
permissions:
packages: write

env:
arch: linux/amd64,linux/arm64,linux/arm64/v8

jobs:
docker_build_and_publish:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
arch: [linux/amd64, linux/arm64, linux/arm64/v8] #, linux/386, linux/arm/v5, linux/arm/v7, linux/mips64le, linux/ppc64le, linux/s390x]
#strategy:
#fail-fast: false
#matrix:
# arch: [linux/amd64, linux/arm64, linux/arm64/v8] #, linux/386, linux/arm/v5, linux/arm/v7, linux/mips64le, linux/ppc64le, linux/s390x]
steps:
- name: "Checkout turnilo"
uses: actions/checkout@v4
Expand Down Expand Up @@ -43,4 +46,4 @@ jobs:
#Cross-build
cd turnilo
export TAG=$(git describe HEAD | sed 's/-.*$//g')
docker buildx build --platform ${{ matrix.arch }} --push -f Dockerfile . --tag ghcr.io/${GITHUB_REPOSITORY}:${TAG}
docker buildx build --platform ${arch} --push -f Dockerfile . --tag ghcr.io/${GITHUB_REPOSITORY}:${TAG}

0 comments on commit 33f150b

Please sign in to comment.