Commit e56e8754 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Merge pull request #1516 from blockscout/tom2drum/image-platforms

Input for platforms in "publish image" workflow
parents d67d6621 e607dbf4
......@@ -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 }}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment