docker: use metadata-action for tags and labels
https://github.com/docker/metadata-action Packages on GitHub lack description since labels from Dockerfile are not used: https://github.com/vogler/free-games-claimer/pkgs/container/free-games-claimer/421753259
This commit is contained in:
parent
2bd12a986e
commit
ada40d05ec
2 changed files with 37 additions and 16 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -75,14 +75,14 @@ ENV BRANCH=${BRANCH}
|
|||
ENV NOW=${NOW}
|
||||
|
||||
LABEL org.opencontainers.image.title="free-games-claimer" \
|
||||
org.opencontainers.image.name="free-games-claimer" \
|
||||
# org.opencontainers.image.name="free-games-claimer" \
|
||||
org.opencontainers.image.description="Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG" \
|
||||
org.opencontainers.image.url="https://github.com/vogler/free-games-claimer" \
|
||||
org.opencontainers.image.source="https://github.com/vogler/free-games-claimer" \
|
||||
org.opencontainers.image.revision=${COMMIT} \
|
||||
org.opencontainers.image.ref.name=${BRANCH} \
|
||||
org.opencontainers.image.base.name="ubuntu:jammy" \
|
||||
org.opencontainers.image.version="latest"
|
||||
org.opencontainers.image.source="https://github.com/vogler/free-games-claimer"
|
||||
# org.opencontainers.image.revision=${COMMIT} \
|
||||
# org.opencontainers.image.ref.name=${BRANCH} \
|
||||
# org.opencontainers.image.base.name="ubuntu:jammy" \
|
||||
# org.opencontainers.image.version="latest"
|
||||
|
||||
# Configure VNC via environment variables:
|
||||
ENV VNC_PORT 5900
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue