Add a step in the CI pipeline to build a container image
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details

This commit is contained in:
Raoul Snyman 2023-07-28 14:48:56 -07:00
parent 96ed72778a
commit 080c68661b
1 changed files with 16 additions and 0 deletions

View File

@ -22,3 +22,19 @@ steps:
- pip_token
when:
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