develop #8
15
.drone.yml
15
.drone.yml
|
@ -2,11 +2,12 @@
|
|||
global-variables:
|
||||
release: &release ${DRONE_TAG}
|
||||
environment: &environment
|
||||
CRE_REGISTRY_IMAGE: registry.fyloz.dev:5443/colorrecipesexplorer/frontend
|
||||
CRE_REGISTRY_IMAGE: registry.fyloz.dev/colorrecipesexplorer/frontend
|
||||
CRE_PORT: 9102
|
||||
CRE_RELEASE: *release
|
||||
alpine-image: &alpine-image alpine:latest
|
||||
docker-registry-repo: &docker-registry-repo registry.fyloz.dev:5443/colorrecipesexplorer/frontend
|
||||
docker-registry: &docker-registry registry.fyloz.dev
|
||||
docker-registry-repo: &docker-registry-repo registry.fyloz.dev/colorrecipesexplorer/frontend
|
||||
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
@ -41,6 +42,11 @@ steps:
|
|||
<<: *environment
|
||||
settings:
|
||||
repo: *docker-registry-repo
|
||||
registry: *docker-registry
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
branch: develop
|
||||
event:
|
||||
|
@ -53,6 +59,11 @@ steps:
|
|||
<<: *environment
|
||||
settings:
|
||||
repo: *docker-registry-repo
|
||||
registry: *docker-registry
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
|
Loading…
Reference in New Issue