From eae80fe4778b05b76b67acd838521f2c95311d1c Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Mon, 4 Nov 2024 13:06:41 +0300 Subject: [PATCH] ci(actions): improve prefixes for db images --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bb0f600c..7709e499 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -48,9 +48,9 @@ jobs: images: | ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}} tags: | - type=sha,prefix=${{env.DB_VERSION}}-primary- + type=sha,prefix=${{env.DB_VERSION}}-primary-sha- type=ref,event=branch,prefix=${{env.DB_VERSION}}-primary- - type=ref,event=pr,prefix=${{env.DB_VERSION}}-primary- + type=ref,event=pr,prefix=${{env.DB_VERSION}}-primary-pr- type=ref,event=tag,prefix=${{env.DB_VERSION}}-primary- type=raw,value=${{env.DB_VERSION}}-primary,enable={{is_default_branch}} @@ -61,9 +61,9 @@ jobs: images: | ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}} tags: | - type=sha,prefix=${{env.DB_VERSION}}-eventdb- + type=sha,prefix=${{env.DB_VERSION}}-eventdb-sha- type=ref,event=branch,prefix=${{env.DB_VERSION}}-eventdb- - type=ref,event=pr,prefix=${{env.DB_VERSION}}-eventdb- + type=ref,event=pr,prefix=${{env.DB_VERSION}}-eventdb-pr- type=ref,event=tag,prefix=${{env.DB_VERSION}}-eventdb- type=raw,value=${{env.DB_VERSION}}-eventdb,enable={{is_default_branch}}