Skip to content

Commit

Permalink
manual dispatch options
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlebl committed May 1, 2024
1 parent 30a0f85 commit da813fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Publish Docker Image
on:
workflow_dispatch:
inputs:
tag:
description: 'Docker image tag'
required: true
default: 'latest'
type: choice
options:
- dev-latest
- production
push:
tags: [dev-latest, production]
jobs:
Expand All @@ -25,6 +34,7 @@ jobs:
tags: |
type=ref,event=tag
type=sha
type=raw,value=${{inputs.tag}}
- name: Build and push
uses: docker/build-push-action@v5
Expand Down

0 comments on commit da813fe

Please sign in to comment.