develop #29

Merged
william merged 33 commits from develop into master 2022-04-20 22:55:05 -04:00
1 changed files with 13 additions and 2 deletions
Showing only changes of commit a2dbb67f3c - Show all commits

View File

@ -6,12 +6,13 @@ global-variables:
GRADLE_VERSION: 7.3
CRE_VERSION: dev-${DRONE_BUILD_NUMBER}
CRE_ARTIFACT_NAME: ColorRecipesExplorer
CRE_REGISTRY_IMAGE: registry.fyloz.dev:5443/colorrecipesexplorer/backend
CRE_REGISTRY_IMAGE: registry.fyloz.dev/colorrecipesexplorer/backend
CRE_PORT: 9101
CRE_RELEASE: *release
gradle-image: &gradle-image gradle:7.3-jdk17
alpine-image: &alpine-image alpine:latest
docker-registry-repo: &docker-registry-repo registry.fyloz.dev:5443/colorrecipesexplorer/backend
docker-registry: &docker-registry registry.fyloz.dev
docker-registry-repo: &docker-registry-repo registry.fyloz.dev/colorrecipesexplorer/backend
kind: pipeline
name: default
@ -56,7 +57,12 @@ steps:
- GRADLE_VERSION
- JAVA_VERSION
- CRE_VERSION
registry: *docker-registry
repo: *docker-registry-repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: develop
event:
@ -73,7 +79,12 @@ steps:
- JAVA_VERSION
build_args:
- CRE_VERSION=${DRONE_TAG}
registry: *docker-registry
repo: *docker-registry-repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag