From 5090f3dca0fd74042248acbf47bf0d7156838197 Mon Sep 17 00:00:00 2001 From: Manu Bretelle Date: Wed, 20 Nov 2024 11:34:15 -0800 Subject: [PATCH] runners: retire focal image We moved all runners to noble and there is no going back. This change remove focal from the list of built containers and also generate the old tag names for noble (instead of focal). Signed-off-by: Manu Bretelle --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 27cccc9..b3a0e05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,7 +39,7 @@ jobs: id-token: write strategy: matrix: - ubuntu_version: [focal, noble] + ubuntu_version: [noble] arch: [s390x, aarch64, x86_64] include: - arch: s390x @@ -93,14 +93,14 @@ jobs: prefix= suffix=-${{ matrix.ubuntu_version }}-${{ matrix.arch }} tags: | - # Generate old tag names (e.g main-s390x, main-x86_64...) when building focal + # Generate old tag names (e.g main-s390x, main-x86_64...) when building noble # branch event - type=ref,enable=${{ matrix.ubuntu_version == 'focal' }},suffix=-${{ matrix.arch }},event=branch + type=ref,enable=${{ matrix.ubuntu_version == 'noble' }},suffix=-${{ matrix.arch }},event=branch # pr event - type=ref,enable=${{ matrix.ubuntu_version == 'focal' }},prefix=pr-,suffix=-${{ matrix.arch }},event=pr + type=ref,enable=${{ matrix.ubuntu_version == 'noble' }},prefix=pr-,suffix=-${{ matrix.arch }},event=pr # tags for all pr/branches type=ref,event=branch,enable=true,priority=600 - type=ref,event=pr,enable=true,prefix=pr-,priority=600 + type=ref,event=pr,enable=true,prefix=pr-,priority=600 # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action