mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
ci(actions): add labels to images
This commit is contained in:
parent
26fdc03e62
commit
ef37241236
1 changed files with 11 additions and 1 deletions
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
|
@ -38,6 +38,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.BASE_IMAGE_NAME}}
|
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.BASE_IMAGE_NAME}}
|
||||||
|
labels: |
|
||||||
|
org.opencontainers.image.documentation=https://github.com/OpenVK/openvk/blob/master/install/automated/docker/Readme.md
|
||||||
tags: |
|
tags: |
|
||||||
type=sha
|
type=sha
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
@ -57,7 +59,7 @@ jobs:
|
||||||
labels: ${{ steps.basemeta.outputs.labels }}
|
labels: ${{ steps.basemeta.outputs.labels }}
|
||||||
build-args: |
|
build-args: |
|
||||||
GITREPO=${{ steps.repositorystring.outputs.lowercase }}
|
GITREPO=${{ steps.repositorystring.outputs.lowercase }}
|
||||||
|
|
||||||
builddb:
|
builddb:
|
||||||
name: Build DB images
|
name: Build DB images
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -86,6 +88,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
||||||
|
labels: |
|
||||||
|
org.opencontainers.image.title=OpenVK MariaDB (Primary)
|
||||||
|
org.opencontainers.image.description=OpenVK's image for MariaDB for primary database.
|
||||||
|
org.opencontainers.image.documentation=https://github.com/OpenVK/openvk/blob/master/install/automated/docker/Readme.md
|
||||||
tags: |
|
tags: |
|
||||||
type=sha,prefix=${{env.DB_VERSION}}-primary-sha-
|
type=sha,prefix=${{env.DB_VERSION}}-primary-sha-
|
||||||
type=ref,event=branch,prefix=${{env.DB_VERSION}}-primary-
|
type=ref,event=branch,prefix=${{env.DB_VERSION}}-primary-
|
||||||
|
@ -99,6 +105,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}
|
||||||
|
labels: |
|
||||||
|
org.opencontainers.image.title=OpenVK MariaDB (EventDB)
|
||||||
|
org.opencontainers.image.description=OpenVK's image for MariaDB for event database.
|
||||||
|
org.opencontainers.image.documentation=https://github.com/OpenVK/openvk/blob/master/install/automated/docker/Readme.md
|
||||||
tags: |
|
tags: |
|
||||||
type=sha,prefix=${{env.DB_VERSION}}-eventdb-sha-
|
type=sha,prefix=${{env.DB_VERSION}}-eventdb-sha-
|
||||||
type=ref,event=branch,prefix=${{env.DB_VERSION}}-eventdb-
|
type=ref,event=branch,prefix=${{env.DB_VERSION}}-eventdb-
|
||||||
|
|
Loading…
Reference in a new issue