This commit is contained in:
parent
00c6c3a37b
commit
53cf0d3a55
@ -26,7 +26,7 @@ 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} ."
|
||||
- "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}"
|
||||
volumes:
|
||||
@ -41,7 +41,7 @@ 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} ."
|
||||
- "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}"
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user