Skip to content
Snippets Groups Projects
Commit 1a992d2d authored by nimrod's avatar nimrod
Browse files

Fixup for getting the container ID.

I think it's because of enabling Systemd's unified cgroup hierarchy in
the updated ns4 host (now again running Debian stable).
parent 6fee23f5
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@ build:
tags: ["ns4.shore.co.il"]
only: ["nimrod"]
script:
- cid="$(basename $(cat /proc/1/cpuset))"
# yamllint disable-line rule:line-length
- cid="$(basename "$(dirname "$(awk '/hostname/ {print $4}' /proc/1/mountinfo)")")"
- docker pull registry.shore.co.il/presentation
- >-
docker run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment