23 lines
419 B
YAML
23 lines
419 B
YAML
|
stages:
|
||
|
- prepare
|
||
|
- build
|
||
|
- deploy
|
||
|
|
||
|
remove-old-services:
|
||
|
stage: prepare
|
||
|
script:
|
||
|
- systemctl --user stop ttt-org
|
||
|
- podman rm --force ttt-org
|
||
|
- cp ttt-org.container ~/.config/containers/systemd
|
||
|
- systemctl --user daemon-reload
|
||
|
|
||
|
container-build:
|
||
|
stage: build
|
||
|
script:
|
||
|
- podman build -t ttt-org .
|
||
|
|
||
|
container-deploy:
|
||
|
stage: deploy
|
||
|
script:
|
||
|
- systemctl --user start ttt-org
|