Add new repository workflow (#7)

* Add new repository workflow

* Prettified Code!

* Adjust add-on linter errors

* No need for qemu user static in this base

Co-authored-by: frenck <frenck@users.noreply.github.com>
This commit is contained in:
Franck Nijhof 2021-01-19 15:04:09 +01:00 committed by GitHub
parent 0c748e4075
commit 5921e620a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 586 additions and 11 deletions

View file

@ -136,6 +136,7 @@ ENTRYPOINT ["/init"]
ARG BUILD_DATE
ARG BUILD_REF
ARG BUILD_VERSION
ARG BUILD_REPOSITORY
# Labels
LABEL \
@ -151,8 +152,8 @@ LABEL \
org.opencontainers.image.authors="Franck Nijhof <frenck@addons.community>" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.url="https://addons.community" \
org.opencontainers.image.source="https://github.com/hassio-addons/addon-base-python" \
org.opencontainers.image.documentation="https://github.com/hassio-addons/addon-base-python/blob/master/README.md" \
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/master/README.md" \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}

View file

@ -1,12 +1,9 @@
{
"image": "hassioaddons/base-python-{arch}",
"squash": false,
"build_from": {
"aarch64": "hassioaddons/base-aarch64:8.0.6",
"amd64": "hassioaddons/base-amd64:8.0.6",
"armhf": "hassioaddons/base-armhf:8.0.6",
"armv7": "hassioaddons/base-armv7:8.0.6",
"i386": "hassioaddons/base-i386:8.0.6"
},
"args": {}
}
}

8
base/config.json Normal file
View file

@ -0,0 +1,8 @@
{
"name": "Python Base Image",
"version": "dev",
"slug": "base",
"description": "Docker Python base images used by Home Assistant Community Add-ons.",
"url": "https://github.com/hassio-addons/addon-base-python",
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"]
}