From b3ba705efb480c28010c25ac9dc4221bb07527e8 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Sat, 8 Jun 2024 02:22:24 +0300 Subject: [PATCH] test local arm64 Signed-off-by: galal-hussein --- .github/workflows/release.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f230e05c20..31bd61408a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: files: | dist/artifacts/* release-arm64: - runs-on: runs-on,runner=8cpu-linux-arm64,run-id=${{ github.run_id }},image=ubuntu22-full-arm64,hdd=64 + runs-on: self-hosted steps: - name: Checkout code uses: actions/checkout@v4 @@ -86,12 +86,12 @@ jobs: run: | dapper -f Dockerfile --target dapper make dapper-ci - - name: "Read secrets" - uses: rancher-eio/read-vault-secrets@main - with: - secrets: | - secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials username | DOCKER_USERNAME ; - secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials password | DOCKER_PASSWORD ; + # - name: "Read secrets" + # uses: rancher-eio/read-vault-secrets@main + # with: + # secrets: | + # secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials username | DOCKER_USERNAME ; + # secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials password | DOCKER_PASSWORD ; - name: Package Images run: | @@ -100,16 +100,13 @@ jobs: - name: Scan Images run: | dapper -f Dockerfile --target dapper make scan-images - - - name: Login to Container Registry - uses: docker/login-action@v3 - with: - username: ${{ env.DOCKER_USERNAME }} - password: ${{ env.DOCKER_PASSWORD }} - name: Publish Image Runtime run: | - GITHUB_TAG=${{ github.ref_name }} make publish-image-runtime + GITHUB_ACTION_TAG=${{ github.ref_name }} dapper -f Dockerfile --target dapper make publish-image-runtime + env: + DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - name: Checksum Artifacts run: |