diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index eeed828ccd..ba0382b078 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -7,12 +7,22 @@ on: description: Image tags required: false type: string + platforms: + description: Image platforms (you can specify multiple platforms separated by comma) + required: false + type: string + default: linux/amd64 workflow_call: inputs: tags: description: Image tags required: false type: string + platforms: + description: Image platforms (you can specify multiple platforms separated by comma) + required: false + type: string + default: linux/amd64 jobs: run: @@ -58,9 +68,7 @@ jobs: push: true cache-from: type=gha tags: ${{ inputs.tags || steps.meta.outputs.tags }} - platforms: | - linux/amd64 - linux/arm64/v8 + platforms: ${{ inputs.platforms }} labels: ${{ steps.meta.outputs.labels }} build-args: | GIT_COMMIT_SHA=${{ env.SHORT_SHA }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bbb3f07448..c3ca89391e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,6 +78,8 @@ jobs: name: Publish Docker image uses: './.github/workflows/publish-image.yml' secrets: inherit + with: + platforms: linux/amd64,linux/arm64/v8 upload_source_maps: name: Upload source maps to Sentry