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:
|
global-variables:
|
||||||
release: &release ${DRONE_TAG}
|
release: &release ${DRONE_TAG}
|
||||||
docker-registry-repo: &docker-registry-repo registry.fyloz.dev:5443/colorrecipesexplorer/backend
|
|
||||||
environment: &environment
|
environment: &environment
|
||||||
JAVA_VERSION: 11
|
JAVA_VERSION: 11
|
||||||
GRADLE_VERSION: 7.1
|
GRADLE_VERSION: 7.1
|
||||||
|
@ -12,6 +11,8 @@ global-variables:
|
||||||
CRE_RELEASE: *release
|
CRE_RELEASE: *release
|
||||||
gradle-image: &gradle-image gradle:7.1-jdk11
|
gradle-image: &gradle-image gradle:7.1-jdk11
|
||||||
alpine-image: &alpine-image alpine:latest
|
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
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
@ -56,6 +57,7 @@ steps:
|
||||||
- GRADLE_VERSION
|
- GRADLE_VERSION
|
||||||
- JAVA_VERSION
|
- JAVA_VERSION
|
||||||
- CRE_VERSION
|
- CRE_VERSION
|
||||||
|
registry: *docker-registry
|
||||||
repo: *docker-registry-repo
|
repo: *docker-registry-repo
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
@ -77,6 +79,7 @@ steps:
|
||||||
- JAVA_VERSION
|
- JAVA_VERSION
|
||||||
build_args:
|
build_args:
|
||||||
- CRE_VERSION=${DRONE_TAG}
|
- CRE_VERSION=${DRONE_TAG}
|
||||||
|
registry: *docker-registry
|
||||||
repo: *docker-registry-repo
|
repo: *docker-registry-repo
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
|
Loading…
Reference in New Issue