fix(ci): verify deployment socket and rollback image
This commit is contained in:
parent
006c7e041f
commit
d61d296ea1
3 changed files with 59 additions and 7 deletions
|
|
@ -62,6 +62,12 @@ jobs:
|
|||
git config --global url."https://git.dimensionlab.net/".insteadOf "ssh://git@git.dimensionlab.net/"
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Verify Podman deployment socket
|
||||
run: |
|
||||
timeout 15s docker version
|
||||
unit="$(timeout 15s docker inspect dimensionlab-website --format '{{ index .Config.Labels "PODMAN_SYSTEMD_UNIT" }}')"
|
||||
test "$unit" = "dimensionlab-website.service"
|
||||
|
||||
- name: Deploy production website
|
||||
env:
|
||||
DEPLOY_CONTAINER_CLI: docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue