Merge pull request #21238 from awanlin/topic/allow-manual-docker-image-build

Allow manual docker image build
This commit is contained in:
Fredrik Adelöw
2023-11-13 13:57:26 +01:00
committed by GitHub
+3 -1
View File
@@ -1,5 +1,7 @@
name: Build and push Docker image
on:
workflow_dispatch:
repository_dispatch:
types: [release-published]
@@ -59,7 +61,7 @@ jobs:
with:
context: './example-app'
file: ./example-app/packages/backend/Dockerfile
push: true
push: ${{ github.event_name == "repository_dispatch" && github.event.action == "release-published" }}
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository_owner }}/backstage:latest