mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-10-24 00:23:47 +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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main # Trigger the workflow on pushes to the main branch
|
- main # Trigger the workflow on pushes to the main branch
|
||||||
|
- dev # Trigger the workflow on pushes to the dev branch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@@ -39,6 +40,8 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
name=dumbwareio/dumbdrop
|
name=dumbwareio/dumbdrop
|
||||||
tags: |
|
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
|
# 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
|
# but since version tags aren't being used (yet?) let's add "latest" anyway
|
||||||
type=raw,value=latest
|
type=raw,value=latest
|
||||||
|
|||||||
Reference in New Issue
Block a user