This commit is contained in:
Michael Grote 2023-04-20 12:36:29 +02:00
parent dd1f1daa91
commit 42db5c5b2a

View file

@ -26,6 +26,7 @@ steps:
DOCKER_PASSWORD: DOCKER_PASSWORD:
from_secret: OCI_REGISTRY_PASS from_secret: OCI_REGISTRY_PASS
commands: commands:
- echo $DOCKER_USERNAME $DOCKER_PASSWORD
- docker build -t registry.mgrote.net/allzweckcontainer:latest . - docker build -t registry.mgrote.net/allzweckcontainer:latest .
#- docker tag registry.mgrote.net/allzweckcontainer:latest registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8} #- docker tag registry.mgrote.net/allzweckcontainer:latest registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8}
# - docker tag registry.mgrote.net/allzweckcontainer:latest registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH} # - docker tag registry.mgrote.net/allzweckcontainer:latest registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}