Merge pull request 'Add a step in the CI pipeline to build a container image' (#7) from build-image into master
Reviewed-on: #7
This commit is contained in:
commit
a4291920aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user