mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-10-22 23:31:57 +00:00
Update docker-publish.yml to support :dev tag
This commit is contained in:
committed by
GitHub
parent
b256311822
commit
c75d200c70
3
.github/workflows/docker-publish.yml
vendored
3
.github/workflows/docker-publish.yml
vendored
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main # Trigger the workflow on pushes to the main branch
|
||||
- dev # Trigger the workflow on pushes to the dev branch
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@@ -39,6 +40,8 @@ jobs:
|
||||
images: |
|
||||
name=dumbwareio/dumbdrop
|
||||
tags: |
|
||||
# Add :dev tag for pushes to the dev branch
|
||||
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' }}
|
||||
# the semantic versioning tags add "latest" when a version tag is present
|
||||
# but since version tags aren't being used (yet?) let's add "latest" anyway
|
||||
type=raw,value=latest
|
||||
|
Reference in New Issue
Block a user