Merge pull request '[skip ci]Give up to deploy tags' (#973) from giveup-tag into main
Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/973
This commit is contained in:
commit
8fb9d861de
4
.github/workflows/deploy-docker.yaml
vendored
4
.github/workflows/deploy-docker.yaml
vendored
@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@ -29,4 +27,4 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: plumeorg/plume:${{ startsWith(github.ref_name, 'refs/tags/') && github.ref || 'latest' }}
|
tags: plumeorg/plume:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user