From 86fab056eb27b409d67d2170f6eba2f2341b8070 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Mon, 10 Jun 2024 22:35:48 +0300 Subject: [PATCH] test local arm64 and amd64 Signed-off-by: galal-hussein --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b4ee136cef..3c117c95fe9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,16 +24,16 @@ jobs: - name: Install Dapper run: | - curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) > /usr/local/bin/dapper - chmod +x /usr/local/bin/dapper + curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) > /tmp/dapper + chmod +x /tmp/dapper - name: Validate Release run: | - dapper -f Dockerfile --target dapper make validate-release + /tmp/dapper -f Dockerfile --target dapper make validate-release - name: Build run: | - dapper -f Dockerfile --target dapper make dapper-ci + /tmp/dapper -f Dockerfile --target dapper make dapper-ci # - name: "Read secrets" # uses: rancher-eio/read-vault-secrets@main @@ -44,20 +44,20 @@ jobs: - name: Package Images run: | - dapper -f Dockerfile --target dapper make package-images + /tmp/dapper -f Dockerfile --target dapper make package-images - name: Scan Images continue-on-error: true run: | - dapper -f Dockerfile --target dapper make scan-images + /tmp/dapper -f Dockerfile --target dapper make scan-images - name: Test run: | - dapper -f Dockerfile --target dapper make test + /tmp/dapper -f Dockerfile --target dapper make test - name: Publish Image Runtime run: | - GITHUB_ACTION_TAG=${{ github.ref_name }} dapper -f Dockerfile --target dapper make publish-image-runtime + GITHUB_ACTION_TAG=${{ github.ref_name }} /tmp/dapper -f Dockerfile --target dapper make publish-image-runtime env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}