This commit is contained in:
Michael Grote 2023-04-20 12:26:27 +02:00
parent c07dd69c7a
commit 0704d69fdb

View file

@ -26,6 +26,7 @@ steps:
password: password:
from_secret: OCI_REGISTRY_PASS from_secret: OCI_REGISTRY_PASS
commands: commands:
- sleep 600
- 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}