Compare commits

...

2 Commits

Author SHA1 Message Date
a4291920aa Merge pull request 'Add a step in the CI pipeline to build a container image' (#7) from build-image into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
Reviewed-on: #7
2023-07-29 02:31:48 +00:00
080c68661b Add a step in the CI pipeline to build a container image
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-07-28 16:54:03 -07:00

View File

@ -22,3 +22,19 @@ steps:
- pip_token - pip_token
when: when:
event: tag event: tag
publish-image:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
registry: git.snyman.info
username: $DOCKER_USERNAME
password: $DOCKER_TOKEN
repo: git.snyman.info/${CI_REPO_OWNER}/codesmidgen
tags:
- latest
- ${CI_COMMIT_TAG##v}
secrets:
- docker_username
- docker_token
when:
event: tag