ci: Add OCI Meta information to docker image (#1460)

* Add build version and date to docker build args

* Add OCI Meta information to Dockerfile

* Update ci.yml
This commit is contained in:
alorente
2025-03-24 16:12:36 +01:00
committed by GitHub
parent 4cd02babba
commit 70fb1f2b00
3 changed files with 15 additions and 2 deletions

View File

@@ -98,6 +98,8 @@ jobs:
push: true
build-args: |
COMMIT_TAG=${{ github.sha }}
BUILD_VERSION=develop
BUILD_DATE=${{ github.event.repository.updated_at }}
outputs: |
type=image,push-by-digest=true,name=fallenbagel/jellyseerr,push=true
type=image,push-by-digest=true,name=ghcr.io/${{ env.OWNER_LC }}/jellyseerr,push=true

View File

@@ -33,5 +33,7 @@ jobs:
push: true
build-args: |
COMMIT_TAG=${{ github.sha }}
BUILD_VERSION=${{ steps.get_version.outputs.VERSION }}
BUILD_DATE=${{ github.event.repository.updated_at }}
tags: |
fallenbagel/jellyseerr:${{ steps.get_version.outputs.VERSION }}