Add authentication to CI/CD
continuous-integration/drone/push Build is failing Details

This commit is contained in:
FyloZ 2022-01-23 00:26:19 -05:00
parent 6b851497e5
commit 1a1aa0e675
Signed by: william
GPG Key ID: 835378AE9AF4AE97
1 changed files with 10 additions and 10 deletions

View File

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