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
- JAVA_VERSION
- CRE_VERSION
repo: *docker-registry-repo
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: *docker-registry-repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: develop
event:
@ -77,11 +77,11 @@ steps:
- JAVA_VERSION
build_args:
- CRE_VERSION=${DRONE_TAG}
repo: *docker-registry-repo
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: *docker-registry-repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag