Compare commits

..

2 Commits

Author SHA1 Message Date
00c6c3a37b Merge pull request 'Try to fix docker login' (#10) from fix-docker-pipeline into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #10
2023-07-29 21:31:58 +00:00
63505b27e1 Try to fix docker login
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-07-29 14:29:18 -07:00

View File

@ -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}"