From 98047d71a85c6e02e58a6cf00e55fbef17f26627 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Sun, 11 Feb 2024 06:30:30 +0900 Subject: [PATCH] Prepare universal workflow --- .github/workflows/images_build_rhel.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/images_build_rhel.yml b/.github/workflows/images_build_rhel.yml index 5c3101037..986e29fd0 100644 --- a/.github/workflows/images_build_rhel.yml +++ b/.github/workflows/images_build_rhel.yml @@ -352,11 +352,12 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.REGISTRY_NAMESPACE }}/${{ steps.image_name.outputs.image_name }} tags: | - type=semver,enable=${{ matrix.arch == 'AMD64' }},pattern={{version}} + type=semver,enable=${{ matrix.arch == 'X64' }},pattern={{version}} type=semver,enable=${{ matrix.arch == 'ARM64' }},pattern={{version}},suffix=-${{ steps.lc.outputs.arch }} - type=sha + type=sha,enable=${{ matrix.arch == 'X64' }} + type=sha,enable=${{ matrix.arch == 'ARM64' }},pattern={{version}},suffix=-${{ steps.lc.outputs.arch }} flavor: | - latest=${{ (github.event_name == 'release') && (matrix.arch == 'AMD64') }} + latest=${{ (github.event_name == 'release') && (matrix.arch == 'X64') }} - name: Download SHA256 tag of ${{ steps.build_base_image.outputs.build_base }}:${{ matrix.arch }} uses: actions/cache@v4