Skip to content

Commit

Permalink
ci(actions): add labels to images
Browse files Browse the repository at this point in the history
  • Loading branch information
WerySkok committed Nov 4, 2024
1 parent 2f1433d commit 31e99d9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
with:
images: |
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: |
type=sha
type=ref,event=branch
Expand All @@ -57,7 +59,7 @@ jobs:
labels: ${{ steps.basemeta.outputs.labels }}
build-args: |
GITREPO=${{ steps.repositorystring.outputs.lowercase }}
builddb:
name: Build DB images
strategy:
Expand Down Expand Up @@ -86,6 +88,10 @@ jobs:
with:
images: |
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: |
type=sha,prefix=${{env.DB_VERSION}}-primary-sha-
type=ref,event=branch,prefix=${{env.DB_VERSION}}-primary-
Expand All @@ -99,6 +105,10 @@ jobs:
with:
images: |
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: |
type=sha,prefix=${{env.DB_VERSION}}-eventdb-sha-
type=ref,event=branch,prefix=${{env.DB_VERSION}}-eventdb-
Expand Down

0 comments on commit 31e99d9

Please sign in to comment.