Fixing DRONE_TAG cleaner upper
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
parent
1538dd8ab8
commit
be7c5acb40
12
.drone.yml
12
.drone.yml
@ -3,8 +3,9 @@ type: docker
|
|||||||
name: chessboard_builder
|
name: chessboard_builder
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
ref:
|
||||||
- tag
|
include:
|
||||||
|
- refs/tags/builder-v*
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
@ -14,15 +15,10 @@ steps:
|
|||||||
registry: git.pipsquire.com
|
registry: git.pipsquire.com
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_TAG//"builder-v"}
|
- ${DRONE_TAG##builder-v}
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
include:
|
|
||||||
- refs/tags/builder-v*
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user