Skip to content

Commit

Permalink
Fix single Arch build
Browse files Browse the repository at this point in the history
  • Loading branch information
ngaro committed Aug 10, 2024
1 parent 7e332db commit c59a9c7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/arch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ on:
- main
paths:
- Dockerfile.arch
- Dockerfile.arch-arm64
- .github/workflows/arch-push.yml
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- name: linux/amd64
dockerfile: Dockerfile.arch
- name: linux/arm64
dockerfile: Dockerfile.arch-arm64
steps:
-
name: Set up QEMU
Expand All @@ -29,8 +37,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v6
with:
file: Dockerfile.arch
#platforms: linux/amd64,linux/arm64
platforms: linux/amd64
file: ${{ matrix.platform.dockerfile }}
platforms: ${{ matrix.platform.name }}
push: true
tags: garo/openssh-client:arch

0 comments on commit c59a9c7

Please sign in to comment.