do not cleanup as a subuser
This commit is contained in:
parent
6c2138b3e5
commit
beb03fbe07
1 changed files with 13 additions and 16 deletions
|
@ -1,23 +1,20 @@
|
|||
steps:
|
||||
prepare:
|
||||
image: bash
|
||||
commands:
|
||||
- podman images
|
||||
- podman info
|
||||
# prepare:
|
||||
# image: bash
|
||||
# commands:
|
||||
# - systemctl --user stop ttt-org
|
||||
# - podman image rm localhost/ttt-org
|
||||
# - cp ttt-org.container /home/sasha/.config/containers/systemd
|
||||
# - systemctl --user daemon-reload
|
||||
|
||||
# container-build:
|
||||
# image: bash
|
||||
# commands:
|
||||
# - sed -i "s/DATE/$(date -I)/g" index.html
|
||||
# - sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
|
||||
# - podman build -t ttt-org .
|
||||
|
||||
# container-deploy:
|
||||
# image: bash
|
||||
# commands:
|
||||
# - systemctl --user start ttt-org
|
||||
container-build:
|
||||
image: bash
|
||||
commands:
|
||||
- sed -i "s/DATE/$(date -I)/g" index.html
|
||||
- sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
|
||||
- podman build -t ttt-org .
|
||||
|
||||
container-deploy:
|
||||
image: bash
|
||||
commands:
|
||||
- systemctl --user start ttt-org
|
||||
|
|
Loading…
Reference in a new issue