This commit is contained in:
2024-04-03 11:30:02 +02:00
parent a97d1531aa
commit dac7cf1be0
3 changed files with 47 additions and 2 deletions

View File

@@ -16,4 +16,26 @@ RUN apk add -v --update --no-cache \
aws-cli
#RUN pip3 install --upgrade awscli
CMD [ "/run.sh" ]
CMD [ "/run.sh" ]
# Build arugments
ARG BUILD_DATE
ARG BUILD_REF
ARG BUILD_VERSION
# Labels
LABEL \
io.hass.name="bitlab S3 backup" \
io.hass.description="Automatically create and transfer HA backups" \
io.hass.arch="${BUILD_ARCH}" \
io.hass.type="addon" \
io.hass.version=${BUILD_VERSION} \
maintainer="Alain Stucki <as@bitlab.ch" \
org.label-schema.description="Automatically create and transfer HA backups" \
org.label-schema.build-date=${BUILD_DATE} \
org.label-schema.name="bitlab S3 Backup" \
org.label-schema.schema-version="1.0" \
org.label-schema.usage="https://git.bitlab.ch/bitlab/ha-addon/-/raw/main/amazon-s3-backup/DOCS.md" \
org.label-schema.vcs-ref=${BUILD_REF} \
org.label-schema.vcs-url="https://git.bitlab.ch/bitlab/ha-addon.git" \
org.label-schema.vendor="bitlab Home Assistant Addons"