Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabrot committed Mar 6, 2024
1 parent 1a0a53a commit 8a533cf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/build-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,29 @@ name: Buildx Action
on:
push

env:
REGISTRY_IMAGE_NAME: risczero
REGISTRY_IMAGE: ${{ secrets.DOCKER_USERNAME }}/hyperfridge-r0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
runs-on: macos-latest
permissions:
contents: write
# strategy:
# fail-fast: false
# matrix:
# # os:
# # - macos-latest # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
strategy:
fail-fast: false
matrix:
os:
- macos-latest # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
# platform:
# - linux/arm64

steps:
# - name: Prepare
# run: |
# platform=${{ matrix.platform }}
# echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Check out code
Expand Down Expand Up @@ -48,7 +53,11 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
load: true
build-args: |
PLATFORM=${{ matrix.platform }}
# platforms: ${{ matrix.platform }}
# labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},name-canonical=true,push=false

tags: ${{ env.REGISTRY_IMAGE_NAME }}

3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: run.sh

on:
push
push:
branches: [ test ]

jobs:
build:
Expand Down

0 comments on commit 8a533cf

Please sign in to comment.