From a94499fc1c2e7acce749cee4e9478f2f19b21dc7 Mon Sep 17 00:00:00 2001 From: Mathieu Le Marec - Pasquet Date: Fri, 1 Dec 2023 16:05:19 +0200 Subject: [PATCH] upgrade image --- .github/workflows/cicd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index ce4e264..c8dfc92 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -7,7 +7,7 @@ env: RELEASABLE_BRANCHES: "^(refs/heads/)?(master|main|workflows)$" jobs: r: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: {IMG: "${{matrix.IMG}}", DFILE: "${{matrix.DFILE}}", DPATH: "${{matrix.DPATH}}", IMG_RELEASE: "${{matrix.IMG_RELEASE}}",} steps: @@ -23,7 +23,7 @@ jobs: with: {username: "${{ secrets.DOCKER_HUB_USERNAME }}", password: "${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}"} - name: Activate docker experimental run: |- - sudo bash -exc "service docker stop;python -c \"d='/etc/docker/daemon.json';\ + sudo bash -exc "if [ ! -e /etc/docker/daemon.json ];then mkdir /etc/docker||true;echo '{}' > /etc/docker/daemon.json;fi;service docker stop;python -c \"d='/etc/docker/daemon.json';\ import json;c=json.load(open(d));c['experimental']=True;\ open(d, 'w').write(json.dumps(c))\";systemctl restart docker" - uses: actions/checkout@v3