Add authentication to CI/CD
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1a1aa0e675
commit
bdcd7195ac
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
global-variables:
|
||||
release: &release ${DRONE_TAG}
|
||||
docker-registry-repo: &docker-registry-repo registry.fyloz.dev:5443/colorrecipesexplorer/backend
|
||||
environment: &environment
|
||||
JAVA_VERSION: 11
|
||||
GRADLE_VERSION: 7.1
|
||||
|
@ -12,6 +11,8 @@ global-variables:
|
|||
CRE_RELEASE: *release
|
||||
gradle-image: &gradle-image gradle:7.1-jdk11
|
||||
alpine-image: &alpine-image alpine:latest
|
||||
docker-registry: &docker-registry registry.fyloz.dev:5443
|
||||
docker-registry-repo: &docker-registry-repo registry.fyloz.dev:5443/colorrecipesexplorer/backend
|
||||
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
@ -56,6 +57,7 @@ steps:
|
|||
- GRADLE_VERSION
|
||||
- JAVA_VERSION
|
||||
- CRE_VERSION
|
||||
registry: *docker-registry
|
||||
repo: *docker-registry-repo
|
||||
username:
|
||||
from_secret: docker_username
|
||||
|
@ -77,6 +79,7 @@ steps:
|
|||
- JAVA_VERSION
|
||||
build_args:
|
||||
- CRE_VERSION=${DRONE_TAG}
|
||||
registry: *docker-registry
|
||||
repo: *docker-registry-repo
|
||||
username:
|
||||
from_secret: docker_username
|
||||
|
|
Loading…
Reference in New Issue