From 89cb8de05e25fa158c75b3d0e0059e994702a5f2 Mon Sep 17 00:00:00 2001 From: codebien <2103732+codebien@users.noreply.github.com> Date: Tue, 5 Sep 2023 12:01:08 +0200 Subject: [PATCH] TODO: DO NOT MERGE; REMOVE BEFORE --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a16f14012105..847e37c70d63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -173,6 +173,15 @@ jobs: fi # Log into GitHub Container Registry echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin + - name: Publish k6:test-arm64-with-browser image to ghcr.io + run: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin + echo "Publish as ghcr.io/$GHCR_IMAGE_ID:test-arm64-with-browser" + docker buildx build --push \ + --target with-browser \ + --platform linux/amd64,linux/arm64 \ + -t ghcr.io/$GHCR_IMAGE_ID:test-arm64-with-browser . + - name: Publish k6:master image to ghcr.io if: ${{ github.ref == 'refs/heads/master' }} run: |