✏️ Link docker image to GitHub repo

This commit is contained in:
Sebastien Clement 2021-02-10 15:54:40 +01:00
parent 7e64da2d65
commit 8901fcf56a
2 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,7 @@ env:
TARGET: nextcloud_backup
IMAGE: "hassio-nextcloud-backup"
REPOSITORY: ghcr.io/sebclem
IMAGE_SOURCE : https://github.com/Sebclem/hassio-nextcloud-backup
@ -88,4 +89,5 @@ jobs:
build-args: |
BUILD_FROM=${{env.BUILD_FROM}}
BUILD_VERSION=${{env.VERSION}}
IMAGE_SOURCE=${{env.IMAGE_SOURCE}}
file: ./${{env.TARGET}}/Dockerfile

View File

@ -19,6 +19,7 @@ ARG BUILD_ARCH
ARG BUILD_DATE
ARG BUILD_REF
ARG BUILD_VERSION
ARG IMAGE_SOURCE
# Labels
LABEL \
@ -36,4 +37,5 @@ LABEL \
org.label-schema.usage="https://github.com/hassio-addons/addon-example/tree/master/README.md" \
org.label-schema.vcs-ref=${BUILD_REF} \
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-example" \
org.label-schema.vendor="Sebclem"
org.label-schema.vendor="Sebclem"\
org.opencontainers.image.source=${IMAGE_SOURCE}