Add authentication to CI/CD
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
6b851497e5
commit
1a1aa0e675
20
.drone.yml
20
.drone.yml
|
@ -56,11 +56,11 @@ steps:
|
||||||
- GRADLE_VERSION
|
- GRADLE_VERSION
|
||||||
- JAVA_VERSION
|
- JAVA_VERSION
|
||||||
- CRE_VERSION
|
- CRE_VERSION
|
||||||
repo: *docker-registry-repo
|
repo: *docker-registry-repo
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
branch: develop
|
branch: develop
|
||||||
event:
|
event:
|
||||||
|
@ -77,11 +77,11 @@ steps:
|
||||||
- JAVA_VERSION
|
- JAVA_VERSION
|
||||||
build_args:
|
build_args:
|
||||||
- CRE_VERSION=${DRONE_TAG}
|
- CRE_VERSION=${DRONE_TAG}
|
||||||
repo: *docker-registry-repo
|
repo: *docker-registry-repo
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
Loading…
Reference in New Issue