From 47d26b76bd80a99c82358743dbef032235d59ff9 Mon Sep 17 00:00:00 2001 From: Timo Salm Date: Thu, 7 Nov 2024 22:02:51 +0100 Subject: [PATCH] Improvements --- .github/workflows/crac-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/crac-publish.yml b/.github/workflows/crac-publish.yml index e753a9f..2428d8e 100644 --- a/.github/workflows/crac-publish.yml +++ b/.github/workflows/crac-publish.yml @@ -35,8 +35,8 @@ jobs: uses: actions/checkout@v4 - run: | - docker build . -t "ghcr.io/${{ github.repository }}:hello-world-crac:checkpointer" --file crac/Dockerfile - docker run -d --cap-add CHECKPOINT_RESTORE --cap-add SYS_PTRACE --rm --name hello-world-crac-checkpointer "ghcr.io/${{ github.repository }}:hello-world-crac:checkpointer" + docker build . -t "ghcr.io/${{ github.repository }}:hello-world-crac-checkpointer" --file crac/Dockerfile + docker run -d --cap-add CHECKPOINT_RESTORE --cap-add SYS_PTRACE --rm --name hello-world-crac-checkpointer "ghcr.io/${{ github.repository }}:hello-world-crac-checkpointer" docker commit --change='ENTRYPOINT ["/opt/app/entrypoint.sh"]' $(docker ps -qf "name=hello-world-crac-checkpointer") "ghcr.io/${{ github.repository }}:hello-world-crac" docker kill $(docker ps -qf "name=hello-world-crac-checkpointer") - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1