set pipeline condition
rodzic
2468e98a43
commit
2f83d554b9
|
@ -4,10 +4,16 @@ when:
|
|||
steps:
|
||||
build-push:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
# secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
registry: forge.citizen4.eu
|
||||
repo: forge.citizen4.eu/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||
# registry: forge.citizen4.eu
|
||||
repo: forge.citizen4.eu/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||
logins:
|
||||
- registry: forge.citizen4.eu
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
# - ${CI_COMMIT_SHA:0:10}
|
||||
|
|
Ładowanie…
Reference in New Issue