Skip to content

Commit

Permalink
Update actions-rootfs-builder.yml: In transition to container-images A…
Browse files Browse the repository at this point in the history
  • Loading branch information
yuravk committed Mar 18, 2024
1 parent 3d2584f commit a4cf345
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions-rootfs-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
major_version:
description: 'AlmaLinux major version'
required: true
default: 9
default: '9'
type: choice
options:
- 10
Expand Down Expand Up @@ -76,7 +76,7 @@ on:
type: boolean

env:
VERSION_LATEST=9
VERSION_LATEST: 9
# VERSION_MINOR: ${{ inputs.major_version == '9' && '3' || '9' }}
REGISTRY_IMAGE: ykohut/almalinux
# docker-library/official-images
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:

# generate Docker tags
tags: |
type=raw,priority=500,value=latest,enable=${{ matrix.image_types != 'default' || ( matrix.image_types == 'default' && inputs.major_version == var.VERSION_LATEST ) }}
type=raw,priority=500,value=latest,enable=${{ matrix.image_types != 'default' || ( matrix.image_types == 'default' && inputs.major_version == env.VERSION_LATEST ) }}
type=raw,priority=400,value=${{ inputs.major_version }},enable=true
type=raw,priority=300,value=${{ inputs.major_version }}.${{ env.VERSION_MINOR }},enable=true
type=raw,priority=200,value=${{ inputs.major_version }}.${{ env.VERSION_MINOR }}-${{ env.STAMP }},enable=true
Expand Down

0 comments on commit a4cf345

Please sign in to comment.