mirror of
https://github.com/booklore-app/booklore.git
synced 2025-12-23 22:28:11 -05:00
ci: Add OCI Image Specification Labels to Dockerfile (#1636)
* ci: Add OCI labels to Dockerfile Added OCI labels for metadata and documentation. * ci: Add APP_VERSION and APP_REVISION arguments Added ARG directives for application version and revision to Dockerfile. * ci: Add APP_REVISION build argument to Docker build
This commit is contained in:
1
.github/workflows/docker-build-publish.yml
vendored
1
.github/workflows/docker-build-publish.yml
vendored
@@ -167,6 +167,7 @@ jobs:
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--build-arg APP_VERSION=${{ env.image_tag }} \
|
||||
--build-arg APP_REVISION=${{ github.sha }} \
|
||||
--tag booklore/booklore:${{ env.image_tag }} \
|
||||
--tag ghcr.io/booklore-app/booklore:${{ env.image_tag }} \
|
||||
--push .
|
||||
|
||||
Reference in New Issue
Block a user