Try to fix docker login
This commit is contained in:
parent
e90bfb65b7
commit
63505b27e1
@ -25,7 +25,7 @@ steps:
|
|||||||
nightly-image:
|
nightly-image:
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- "docker login git.snyman.info $DOCKER_USERNAME $DOCKER_TOKEN"
|
- "docker login git.snyman.info -u $DOCKER_USERNAME -p $DOCKER_TOKEN"
|
||||||
- "docker build -t git.snyman.info/codesmidgen:nightly -t git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8} ."
|
- "docker build -t git.snyman.info/codesmidgen:nightly -t git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8} ."
|
||||||
- "docker push git.snyman.info/codesmidgen:nightly"
|
- "docker push git.snyman.info/codesmidgen:nightly"
|
||||||
- "docker push git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8}"
|
- "docker push git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8}"
|
||||||
@ -40,7 +40,7 @@ steps:
|
|||||||
release-image:
|
release-image:
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- "docker login git.snyman.info $DOCKER_USERNAME $DOCKER_TOKEN"
|
- "docker login git.snyman.info -u $DOCKER_USERNAME -p $DOCKER_TOKEN"
|
||||||
- "docker build -t git.snyman.info/codesmidgen:latest -t git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v} ."
|
- "docker build -t git.snyman.info/codesmidgen:latest -t git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v} ."
|
||||||
- "docker push git.snyman.info/codesmidgen:latest"
|
- "docker push git.snyman.info/codesmidgen:latest"
|
||||||
- "docker push git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v}"
|
- "docker push git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v}"
|
||||||
|
Loading…
Reference in New Issue
Block a user