Fix a image tag
This commit is contained in:
parent
249d02c4c7
commit
8a355f59a5
@ -26,9 +26,9 @@ steps:
|
|||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- "docker login git.snyman.info -u $DOCKER_USERNAME -p $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} -f Dockerfile.nightly ."
|
- "docker build -t git.snyman.info/raoul/codesmidgen:nightly -t git.snyman.info/raoul/codesmidgen:${CI_COMMIT_SHA:0:8} -f Dockerfile.nightly ."
|
||||||
- "docker push git.snyman.info/codesmidgen:nightly"
|
- "docker push git.snyman.info/raoul/codesmidgen:nightly"
|
||||||
- "docker push git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8}"
|
- "docker push git.snyman.info/raoul/codesmidgen:${CI_COMMIT_SHA:0:8}"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
secrets:
|
secrets:
|
||||||
@ -41,9 +41,9 @@ steps:
|
|||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- "docker login git.snyman.info -u $DOCKER_USERNAME -p $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} -f Dockerfile.release ."
|
- "docker build -t git.snyman.info/raoul/codesmidgen:latest -t git.snyman.info/raoul/codesmidgen:${CI_COMMIT_TAG##v} -f Dockerfile.release ."
|
||||||
- "docker push git.snyman.info/codesmidgen:latest"
|
- "docker push git.snyman.info/raoul/codesmidgen:latest"
|
||||||
- "docker push git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v}"
|
- "docker push git.snyman.info/raoul/codesmidgen:${CI_COMMIT_TAG##v}"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
secrets:
|
secrets:
|
||||||
|
Loading…
Reference in New Issue
Block a user