ci: test
This commit is contained in:
parent
24a756c2fd
commit
54decf46bb
1 changed files with 4 additions and 4 deletions
|
@ -27,12 +27,12 @@ steps:
|
||||||
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 --username $username --password $password 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}
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
Loading…
Reference in a new issue