This commit is contained in:
Miroslav Šedivý 2023-01-15 19:29:45 +01:00
parent d7b64be87b
commit 3906e1007c
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ jobs:
uses: docker/metadata-action@v3 uses: docker/metadata-action@v3
id: meta id: meta
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}//${{ env.TAG_PREFIX }}base images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.TAG_PREFIX }}base
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
@ -125,4 +125,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |
BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}//${{ env.TAG_PREFIX }}base:sha-${{ github.sha }} BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.TAG_PREFIX }}base:sha-${{ github.sha }}

View File

@ -38,7 +38,7 @@ jobs:
uses: docker/metadata-action@v3 uses: docker/metadata-action@v3
id: meta id: meta
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}//${{ env.TAG_PREFIX }}base images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.TAG_PREFIX }}base
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
@ -137,4 +137,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |
BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}//${{ env.TAG_PREFIX }}base:sha-${{ github.sha }} BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.TAG_PREFIX }}base:sha-${{ github.sha }}