ci: test
This commit is contained in:
parent
54decf46bb
commit
dd1f1daa91
1 changed files with 3 additions and 3 deletions
|
@ -21,15 +21,15 @@ steps:
|
||||||
- name: container
|
- name: container
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
environment:
|
environment:
|
||||||
username:
|
DOCKER_USERNAME:
|
||||||
from_secret: OCI_REGISTRY_USER
|
from_secret: OCI_REGISTRY_USER
|
||||||
password:
|
DOCKER_PASSWORD:
|
||||||
from_secret: OCI_REGISTRY_PASS
|
from_secret: OCI_REGISTRY_PASS
|
||||||
commands:
|
commands:
|
||||||
- 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}
|
||||||
- docker login --username $username --password $password registry.mgrote.net
|
- docker login registry.mgrote.net
|
||||||
- docker push registry.mgrote.net/allzweckcontainer:latest
|
- docker push registry.mgrote.net/allzweckcontainer:latest
|
||||||
# - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8}
|
# - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8}
|
||||||
# - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}
|
# - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}
|
||||||
|
|
Loading…
Reference in a new issue