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
|
# event: tag
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
deploy:
|
push-container:
|
||||||
image: podman-image
|
image: podman-image
|
||||||
commands:
|
commands:
|
||||||
- ls -la
|
- ls -la
|
||||||
|
@ -32,8 +32,10 @@ pipeline:
|
||||||
- export REPO=git.mzhang.io/michael/liveterm
|
- export REPO=git.mzhang.io/michael/liveterm
|
||||||
- export TAG=$(podman images liveterm --format "{{.Tag}}")
|
- export TAG=$(podman images liveterm --format "{{.Tag}}")
|
||||||
- podman tag liveterm:$TAG $REPO:$TAG
|
- podman tag liveterm:$TAG $REPO:$TAG
|
||||||
|
- podman tag liveterm:$TAG $REPO:latest
|
||||||
- podman login git.mzhang.io --username michael --password $DOCKER_TOKEN
|
- podman login git.mzhang.io --username michael --password $DOCKER_TOKEN
|
||||||
- podman push $REPO:$TAG
|
- podman push $REPO:$TAG
|
||||||
|
- podman push $REPO:latest
|
||||||
secrets:
|
secrets:
|
||||||
- DOCKER_TOKEN
|
- DOCKER_TOKEN
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue