supports building for different platforms for gitea actions

This commit is contained in:
MaysWind
2023-09-04 23:33:52 +08:00
parent e2b81f7b57
commit 2e680b04c9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
with: with:
file: Dockerfile file: Dockerfile
context: . context: .
platforms: ${{ vars.BUILD_PLATFORMS }} platforms: ${{ vars.BUILD_RELEASE_PLATFORMS }}
push: true push: true
build-args: | build-args: |
RELEASE_BUILD=1 RELEASE_BUILD=1
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
with: with:
file: Dockerfile file: Dockerfile
context: . context: .
platforms: ${{ vars.BUILD_PLATFORMS }} platforms: ${{ vars.BUILD_SNAPSHOT_PLATFORMS }}
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}