mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-26 02:52:59 +01:00
✏️ Link docker image to GitHub repo
This commit is contained in:
parent
7e64da2d65
commit
8901fcf56a
2
.github/workflows/build_addon.yml
vendored
2
.github/workflows/build_addon.yml
vendored
@ -10,6 +10,7 @@ env:
|
|||||||
TARGET: nextcloud_backup
|
TARGET: nextcloud_backup
|
||||||
IMAGE: "hassio-nextcloud-backup"
|
IMAGE: "hassio-nextcloud-backup"
|
||||||
REPOSITORY: ghcr.io/sebclem
|
REPOSITORY: ghcr.io/sebclem
|
||||||
|
IMAGE_SOURCE : https://github.com/Sebclem/hassio-nextcloud-backup
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -88,4 +89,5 @@ jobs:
|
|||||||
build-args: |
|
build-args: |
|
||||||
BUILD_FROM=${{env.BUILD_FROM}}
|
BUILD_FROM=${{env.BUILD_FROM}}
|
||||||
BUILD_VERSION=${{env.VERSION}}
|
BUILD_VERSION=${{env.VERSION}}
|
||||||
|
IMAGE_SOURCE=${{env.IMAGE_SOURCE}}
|
||||||
file: ./${{env.TARGET}}/Dockerfile
|
file: ./${{env.TARGET}}/Dockerfile
|
@ -19,6 +19,7 @@ ARG BUILD_ARCH
|
|||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG BUILD_REF
|
ARG BUILD_REF
|
||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
|
ARG IMAGE_SOURCE
|
||||||
|
|
||||||
# Labels
|
# Labels
|
||||||
LABEL \
|
LABEL \
|
||||||
@ -36,4 +37,5 @@ LABEL \
|
|||||||
org.label-schema.usage="https://github.com/hassio-addons/addon-example/tree/master/README.md" \
|
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-ref=${BUILD_REF} \
|
||||||
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-example" \
|
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}
|
||||||
|
Loading…
Reference in New Issue
Block a user