Merge pull request #28 from yuravk/main

Use ubuntu-24.04 runner instead of ubuntu-latest
This commit is contained in:
Andrew Lukoshko 2024-12-09 13:01:21 +01:00 committed by GitHub
commit 619411ffa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ env:
jobs:
build-test-push:
name: Deploy ${{ inputs.version_major }} ${{ matrix.image_types }} images
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@ -142,9 +142,11 @@ jobs:
-
name: Enable containerd image store on Docker Engine
run: |
# Use containerd image store
sudo jq '.features |= . + { "containerd-snapshotter": true }' /etc/docker/daemon.json > ./daemon.json.${{ env.date_stamp }} && \
sudo mv -f ./daemon.json.${{ env.date_stamp }} /etc/docker/daemon.json
# JQ file to switch into containerd image store
cat << EOF > containerd-snapshotter.jq
.features |= . + { "containerd-snapshotter": true }
EOF
sudo jq -n -f containerd-snapshotter.jq > /etc/docker/daemon.json
sudo systemctl restart docker
docker info -f '{{ .DriverStatus }}'
@ -397,7 +399,7 @@ jobs:
# 'default' or 'minimal' images only and 'Push to production' is checked
if: ( inputs.type_default || inputs.type_minimal ) && inputs.production
name: Optimize size of repository
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- build-test-push
steps: