Compare commits

..

2 Commits

Author SHA1 Message Date
Yuriy Kohut
1c156fca07 AlmaLinux release 10 building 2024-12-06 11:39:25 +02:00
Yuriy Kohut
a6a3f53a77 Switch to own registries 2024-11-18 17:29:05 +02:00

View File

@ -17,7 +17,7 @@ on:
default: '10' default: '10'
type: choice type: choice
options: options:
- 10-kitten - "10-kitten"
- 10 - 10
- 9 - 9
- 8 - 8
@ -62,12 +62,13 @@ env:
# Registries list: # Registries list:
# for production: docker.io/almalinux, quay.io/almalinuxorg, ghcr.io/almalinux # for production: docker.io/almalinux, quay.io/almalinuxorg, ghcr.io/almalinux
# for testing: quay.io/almalinuxautobot # for testing: quay.io/almalinuxautobot
registries: ${{ inputs.production && 'docker.io/almalinux, quay.io/almalinuxorg, ghcr.io/almalinux' || 'quay.io/almalinuxautobot' }} # registries: ${{ inputs.production && 'docker.io/almalinux, quay.io/almalinuxorg, ghcr.io/almalinux' || 'quay.io/almalinuxautobot' }}
registries: ${{ inputs.production && 'docker.io/ykohut, quay.io/ykohut, ghcr.io/yuravk' || 'quay.io/ykohut' }}
jobs: jobs:
build-test-push: build-test-push:
name: Deploy ${{ inputs.version_major }} ${{ matrix.image_types }} images name: Deploy ${{ inputs.version_major }} ${{ matrix.image_types }} images
runs-on: ubuntu-24.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -143,11 +144,9 @@ jobs:
- -
name: Enable containerd image store on Docker Engine name: Enable containerd image store on Docker Engine
run: | run: |
# JQ file to switch into containerd image store # Use containerd image store
cat << EOF > containerd-snapshotter.jq sudo jq '.features |= . + { "containerd-snapshotter": true }' /etc/docker/daemon.json > ./daemon.json.${{ env.date_stamp }} && \
.features |= . + { "containerd-snapshotter": true } sudo mv -f ./daemon.json.${{ env.date_stamp }} /etc/docker/daemon.json
EOF
sudo sh -c 'jq -n -f containerd-snapshotter.jq > /etc/docker/daemon.json'
sudo systemctl restart docker sudo systemctl restart docker
docker info -f '{{ .DriverStatus }}' docker info -f '{{ .DriverStatus }}'
@ -400,7 +399,7 @@ jobs:
# 'default' or 'minimal' images only and 'Push to production' is checked # 'default' or 'minimal' images only and 'Push to production' is checked
if: ( inputs.type_default || inputs.type_minimal ) && inputs.production if: ( inputs.type_default || inputs.type_minimal ) && inputs.production
name: Optimize size of repository name: Optimize size of repository
runs-on: ubuntu-24.04 runs-on: ubuntu-latest
needs: needs:
- build-test-push - build-test-push
steps: steps: