Skip to content

Commit

Permalink
Fix matrix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fedemaleh committed Jul 5, 2024
1 parent 1001167 commit 87a7c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build asset
run: docker buildx build --platform ${{ matrix.platform.asset-arch }} -t main --load .
run: docker buildx build --build-arg ARCH=${{ matrix.platform.runner-arch }} --platform ${{ matrix.platform.asset-arch }} -t ${{ matrix.platform.asset-name }} --load .
- name: Push ARM asset
run: np asset push --type docker-image --source main --name ${{ matrix.platform.asset-arch }}
run: np asset push --type docker-image --source ${{ matrix.platform.asset-name }} --name ${{ matrix.platform.asset-name }}
- name: End nullplatform CI
if: ${{ always() }}
run: np build update --status ${{ contains(fromJSON('["failure", "cancelled"]'), job.status) && 'failed' || 'successful' }}

0 comments on commit 87a7c82

Please sign in to comment.