Skip to content

Commit

Permalink
fix: build package add platform
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jan 6, 2024
1 parent 132a49b commit 24b7293
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Set branch
id: branch
run: |
echo "::set-output name=BRANCH::${GITHUB_REF#refs/heads/}"
echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
- name: Log in to the Container Registry
uses: docker/login-action@v1
Expand All @@ -72,6 +72,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }},${{ env.IMAGE_NAME }}:latest
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache
Expand Down

0 comments on commit 24b7293

Please sign in to comment.