From 49cec7fd6162d0d997b4fee938c26c1d8a275847 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 23 Mar 2024 16:08:32 +0100 Subject: [PATCH] ci(aio): add latest tag images (#1884) Tangentially also fixes #1868 --- .github/workflows/image.yml | 14 +++++++------- .github/workflows/image_build.yml | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 484e505f..6e93cb9a 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -51,7 +51,7 @@ jobs: base-image: "ubuntu:22.04" - build-type: '' platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' tag-suffix: '-ffmpeg' ffmpeg: 'true' image-type: 'extras' @@ -81,7 +81,7 @@ jobs: cuda-major-version: "11" cuda-minor-version: "7" platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' tag-suffix: '-cublas-cuda11-ffmpeg' ffmpeg: 'true' image-type: 'extras' @@ -92,7 +92,7 @@ jobs: cuda-major-version: "12" cuda-minor-version: "1" platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' tag-suffix: '-cublas-cuda12-ffmpeg' ffmpeg: 'true' image-type: 'extras' @@ -110,7 +110,7 @@ jobs: runs-on: 'arc-runner-set' - build-type: 'hipblas' platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' tag-suffix: '-hipblas-ffmpeg' ffmpeg: 'true' image-type: 'extras' @@ -127,7 +127,7 @@ jobs: runs-on: 'arc-runner-set' - build-type: 'sycl_f16' platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' base-image: "intel/oneapi-basekit:2024.0.1-devel-ubuntu22.04" tag-suffix: '-sycl-f16-ffmpeg' ffmpeg: 'true' @@ -136,7 +136,7 @@ jobs: aio: "-aio-gpu-intel-f16" - build-type: 'sycl_f32' platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' base-image: "intel/oneapi-basekit:2024.0.1-devel-ubuntu22.04" tag-suffix: '-sycl-f32-ffmpeg' ffmpeg: 'true' @@ -218,7 +218,7 @@ jobs: include: - build-type: '' platforms: 'linux/amd64' - tag-latest: 'false' + tag-latest: 'auto' tag-suffix: '-ffmpeg-core' ffmpeg: 'true' image-type: 'core' diff --git a/.github/workflows/image_build.yml b/.github/workflows/image_build.yml index 8f1386c6..659f85de 100644 --- a/.github/workflows/image_build.yml +++ b/.github/workflows/image_build.yml @@ -145,6 +145,7 @@ jobs: type=ref,event=branch type=semver,pattern={{raw}} flavor: | + latest=${{ inputs.tag-latest }} suffix=${{ inputs.aio }} - name: Docker meta AIO (dockerhub) if: inputs.aio != '' @@ -157,6 +158,7 @@ jobs: type=ref,event=branch type=semver,pattern={{raw}} flavor: | + latest=${{ inputs.tag-latest }} suffix=${{ inputs.aio }} - name: Set up QEMU uses: docker/setup-qemu-action@master