Skip to content

Commit

Permalink
Dev or specify image tag (#38)
Browse files Browse the repository at this point in the history
* default tag to dev for pr merge trigger, but allow user to specify tag on manual run

Signed-off-by: 2byrds <2byrds@gmail.com>

---------

Signed-off-by: 2byrds <2byrds@gmail.com>
  • Loading branch information
2byrds authored Aug 23, 2024
1 parent 3253937 commit 749df82
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/publish-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
name: Publish Docker image

on:
# push:
# branches:
# - "main"
# pull_request:
# branches:
# - "main"
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
inputs:
version:
required: true
required: false
default: 'dev'
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
Expand Down

0 comments on commit 749df82

Please sign in to comment.