CI/CD
continuous-integration/drone/push Build is passing Details

This commit is contained in:
FyloZ 2022-01-23 01:28:58 -05:00
parent af3b8eee8c
commit 6c8d35560e
Signed by: william
GPG Key ID: 835378AE9AF4AE97
1 changed files with 13 additions and 2 deletions

View File

@ -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