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