From 9d70998a39b4bb5c6d59d1d21586922973ed55a1 Mon Sep 17 00:00:00 2001 From: Kevin Counihan Date: Tue, 8 Oct 2024 07:10:52 -0700 Subject: [PATCH] new workflow --- multi-arch-test.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 multi-arch-test.yaml diff --git a/multi-arch-test.yaml b/multi-arch-test.yaml new file mode 100644 index 0000000..f4edbc4 --- /dev/null +++ b/multi-arch-test.yaml @@ -0,0 +1,27 @@ +name: "Testing multi-arch Docker builds" + +on: + workflow_dispatch: + +jobs: + task: + permissions: + contents: write + pull-requests: write + packages: write + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Auth to Cloud + uses: 'uwit-iam/action-auth-artifact-registry@main' + with: + credentials: "${{ secrets.MCI_GCLOUD_AUTH_JSON }}" + + - name: Build and push + uses: docker/build-push-action@v6 + with: + platforms: linux/amd64,linux/arm64 + push: true + tags: kevintest:latest