fix docker build

This commit is contained in:
Vladislav Yarmak 2024-02-11 22:29:32 +02:00
parent 7d70a48bae
commit f1669a6241
1 changed files with 6 additions and 4 deletions

View File

@ -82,11 +82,13 @@ jobs:
images: | images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# generate Docker tags based on the following events/attributes # generate Docker tags based on the following events/attributes
flavor: |
suffix=-alpine,onlatest=true
tags: | tags: |
type=semver,pattern={{version}}-alpine type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}-alpine type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}-alpine type=semver,pattern={{major}}
type=sha,suffix=-alpine type=sha
- -
name: Build and push alpine image name: Build and push alpine image
id: docker_build_alpine id: docker_build_alpine