Skip to content

Commit

Permalink
supports building for different platforms for gitea actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Sep 4, 2023
1 parent e2b81f7 commit 2e680b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitea/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
file: Dockerfile
context: .
platforms: ${{ vars.BUILD_PLATFORMS }}
platforms: ${{ vars.BUILD_RELEASE_PLATFORMS }}
push: true
build-args: |
RELEASE_BUILD=1
Expand Down
2 changes: 1 addition & 1 deletion .gitea/workflows/docker-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
file: Dockerfile
context: .
platforms: ${{ vars.BUILD_PLATFORMS }}
platforms: ${{ vars.BUILD_SNAPSHOT_PLATFORMS }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2e680b0

Please sign in to comment.