This commit is contained in:
parent
3325bed3b5
commit
daa81e484f
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,7 @@ pipeline:
|
|||
# event: tag
|
||||
branch: master
|
||||
|
||||
deploy:
|
||||
push-container:
|
||||
image: podman-image
|
||||
commands:
|
||||
- ls -la
|
||||
|
@ -32,8 +32,10 @@ pipeline:
|
|||
- export REPO=git.mzhang.io/michael/liveterm
|
||||
- export TAG=$(podman images liveterm --format "{{.Tag}}")
|
||||
- podman tag liveterm:$TAG $REPO:$TAG
|
||||
- podman tag liveterm:$TAG $REPO:latest
|
||||
- podman login git.mzhang.io --username michael --password $DOCKER_TOKEN
|
||||
- podman push $REPO:$TAG
|
||||
- podman push $REPO:latest
|
||||
secrets:
|
||||
- DOCKER_TOKEN
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue