From 45c29ec0d8e85043559862fdeb3fa18559684c9e Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Tue, 9 Apr 2024 22:46:44 +0800 Subject: [PATCH] ci: fix arm64 Signed-off-by: Jack Yu --- .github/workflows/pull-request.yml | 2 +- .github/workflows/template-build.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 8870d826..cb3b6268 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -7,6 +7,6 @@ jobs: call-dapper-build: uses: ./.github/workflows/template-build.yml with: - release-tag-name: ${{ github.ref_name }}-head + release-tag-name: pull-${{ github.event.number }} push: false secrets: inherit diff --git a/.github/workflows/template-build.yml b/.github/workflows/template-build.yml index 97ae6e37..8928a22f 100644 --- a/.github/workflows/template-build.yml +++ b/.github/workflows/template-build.yml @@ -59,9 +59,9 @@ jobs: file: package/Dockerfile push: true tags: rancher/support-bundle-kit:${{ inputs.release-tag-name }}-${{ steps.get-arch.outputs.ARCH }} - env: - ARCH: ${{ steps.get-arch.outputs.ARCH }} - VERSION: ${{ github.ref_name }}-${{ github.sha }}-head + build-args: | + ARCH=${{ steps.get-arch.outputs.ARCH }} + VERSION=${{ github.ref_name }}-${{ github.sha }}-head manifest: if: ${{ inputs.push == true }}