-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup additional workflow to be able to manually trigger Docker Build…
…&Push
- Loading branch information
Showing
3 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Manually Publish Docker Image | ||
|
||
on: | ||
|
||
# This is for when, occasionally, we need to manually publish a docker image | ||
workflow_dispatch: | ||
inputs: | ||
|
||
target-platforms: | ||
type: string | ||
default: linux/amd64,linux/arm64 | ||
description: Platforms to target when publishing the docker image | ||
|
||
release-version: | ||
required: true | ||
type: string | ||
description: Version to publish as docker image (eg. 'vX.Y.Z') | ||
|
||
jobs: | ||
manually_publish-hub_docker_com: | ||
name: Publish to hub.docker.com | ||
uses: ./.github/workflows/hub.docker.com-publish.yml | ||
with: | ||
release-version: ${{ inputs.release-version }} | ||
target-platforms: ${{ inputs.target-platforms }} | ||
secrets: | ||
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub-password: ${{ secrets.DOCKERHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters