mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
ci(actions): individual tagging policy fo db images
This commit is contained in:
parent
084c1056b6
commit
5d207a8cf8
1 changed files with 10 additions and 16 deletions
26
.github/workflows/build.yaml
vendored
26
.github/workflows/build.yaml
vendored
|
@ -48,14 +48,11 @@ jobs:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
||||||
tags: |
|
tags: |
|
||||||
type=sha
|
type=sha,prefix=${{env.DB_VERSION}}-primary-
|
||||||
type=ref,event=branch
|
type=ref,event=branch,prefix=${{env.DB_VERSION}}-primary-
|
||||||
type=ref,event=pr
|
type=ref,event=pr,prefix=${{env.DB_VERSION}}-primary-
|
||||||
type=ref,event=tag
|
type=ref,event=tag,prefix=${{env.DB_VERSION}}-primary-
|
||||||
type=raw,value=,enable={{is_default_branch}}
|
type=raw,value=${{env.DB_VERSION}}-primary,enable={{is_default_branch}}
|
||||||
flavor: |
|
|
||||||
latest=auto
|
|
||||||
prefix=${{env.DB_VERSION}}-primary
|
|
||||||
|
|
||||||
- name: MariaDB event meta
|
- name: MariaDB event meta
|
||||||
id: db-eventmeta
|
id: db-eventmeta
|
||||||
|
@ -64,14 +61,11 @@ jobs:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
||||||
tags: |
|
tags: |
|
||||||
type=sha
|
type=sha,prefix=${{env.DB_VERSION}}-eventdb-
|
||||||
type=ref,event=branch
|
type=ref,event=branch,prefix=${{env.DB_VERSION}}-eventdb-
|
||||||
type=ref,event=pr
|
type=ref,event=pr,prefix=${{env.DB_VERSION}}-eventdb-
|
||||||
type=ref,event=tag
|
type=ref,event=tag,prefix=${{env.DB_VERSION}}-eventdb-
|
||||||
type=raw,value=,enable={{is_default_branch}}
|
type=raw,value=${{env.DB_VERSION}}-eventdb,enable={{is_default_branch}}
|
||||||
flavor: |
|
|
||||||
latest=auto
|
|
||||||
prefix=${{env.DB_VERSION}}-eventdb-
|
|
||||||
|
|
||||||
# - name: Log into registry
|
# - name: Log into registry
|
||||||
# run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
# run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
|
|
Loading…
Reference in a new issue