diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-14 20:47:03 +0400 | 
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-14 20:47:03 +0400 | 
| commit | 82f760c3d03c352dd2d05983bef68e5456ddcad5 (patch) | |
| tree | f69732bf6a4c59a5d96533862d790a864392e2c4 | |
| parent | e024b4ce33b9c76995eee68fc433812dc0bb722a (diff) | |
add arm64
| -rw-r--r-- | .github/workflows/docker-publish.yml | 15 | 
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5e5ad4a..58555fa 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,33 +3,34 @@ name: docker  on:    push:      branches: -      - 'main' +      - "main"  env:    # Use docker.io for Docker Hub if empty    REGISTRY: ghcr.io -   +  jobs:    bake:      runs-on: ubuntu-latest      steps: -      - -        name: Checkout +      - name: Checkout          uses: actions/checkout@v3        - name: Set up QEMU          uses: docker/setup-qemu-action@v2 +        with: +          platforms: "arm64,arm"        - name: Set up Docker Buildx          uses: docker/setup-buildx-action@v2 +        with: +          platforms: linux/amd64,linux/arm64 -                - name: Log into registry ${{ env.REGISTRY }}          uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c          with:            registry: ${{ env.REGISTRY }}            username: ${{ github.actor }}            password: ${{ secrets.GITHUB_TOKEN }} -      - -        name: Build and push +      - name: Build and push          uses: docker/bake-action@v2          with:            push: true  | 
