Fix a image tag
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Raoul Snyman 2023-07-29 14:51:54 -07:00
parent 249d02c4c7
commit 8a355f59a5

View File

@ -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: