Skip to content

Commit

Permalink
actions test
Browse files Browse the repository at this point in the history
  • Loading branch information
buanet committed Aug 28, 2021
1 parent e7e54f7 commit e0d7f82
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 18 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "dev"
6 changes: 3 additions & 3 deletions .github/workflows/docker_build_dev_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV
echo "This is the Buildnumber/Timestamp: $DATI"
echo "dati=$DATI" >> $GITHUB_ENV
sed -e "s/\${VERSION}/$VERSION-devbuild/" -e "s/\${DATI}/$DATI/" ./amd64/Dockerfile > ./amd64/Dockerfile.tmp
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" ./amd64/Dockerfile > ./amd64/Dockerfile.tmp
mv -f ./amd64/Dockerfile.tmp ./amd64/Dockerfile
sed -e "s/\${VERSION}/$VERSION-devbuild/" -e "s/\${DATI}/$DATI/" ./arm32v7/Dockerfile > ./arm32v7/Dockerfile.tmp
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" ./arm32v7/Dockerfile > ./arm32v7/Dockerfile.tmp
mv -f ./arm32v7/Dockerfile.tmp ./arm32v7/Dockerfile
sed -e "s/\${VERSION}/$VERSION-devbuild/" -e "s/\${DATI}/$DATI/" ./arm64v8/Dockerfile > ./arm64v8/Dockerfile.tmp
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" ./arm64v8/Dockerfile > ./arm64v8/Dockerfile.tmp
mv -f ./arm64v8/Dockerfile.tmp ./arm64v8/Dockerfile
- name: Set up manifest tool
Expand Down
8 changes: 6 additions & 2 deletions amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM amd64/debian:buster

LABEL maintainer="Andre Germann" \
url="https://buanet.de"
LABEL org.opencontainers.image.title="ioBroker Docker Image" \
org.opencontainers.image.description="Docker image for ioBroker smarthome software" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.created="${DATI}"

ENV DEBIAN_FRONTEND noninteractive

Expand Down
13 changes: 6 additions & 7 deletions arm32v7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM balenalib/armv7hf-debian:buster

LABEL maintainer="Andre Germann" \
url="https://buanet.de"
LABEL org.opencontainers.image.title="ioBroker Docker Image" \
org.opencontainers.image.description="Docker image for ioBroker smarthome software" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.created="${DATI}"

ENV DEBIAN_FRONTEND noninteractive

# Workaround for building image with buildx
#RUN ln -s /usr/bin/dpkg-split /usr/sbin/dpkg-split && \
# ln -s /usr/bin/dpkg-deb /usr/sbin/dpkg-deb && \
# ln -s /bin/tar /usr/sbin/tar

# Install prerequisites (as listed in iobroker installer.sh)
RUN apt-get update && apt-get install -y \
acl \
Expand Down
9 changes: 7 additions & 2 deletions arm64v8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
FROM balenalib/aarch64-debian:buster

LABEL maintainer="Andre Germann" \
url="https://buanet.de"
LABEL org.opencontainers.image.title="ioBroker Docker Image" \
org.opencontainers.image.description="Docker image for ioBroker smarthome software" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.created="${DATI}"


ENV DEBIAN_FRONTEND noninteractive

Expand Down
8 changes: 4 additions & 4 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
image: buanet/iobroker:$DOCKERTAG
image: buanet/iobroker:${DOCKERTAG}
manifests:
-
image: buanet/iobroker:$VERSION-amd64
image: buanet/iobroker:${VERSION}-amd64
platform:
architecture: amd64
os: linux
-
image: buanet/iobroker:$VERSION-arm64v8
image: buanet/iobroker:${VERSION}-arm64v8
platform:
architecture: arm64
variant: v8
os: linux
-
image: buanet/iobroker:$VERSION-arm32v7
image: buanet/iobroker:${VERSION}-arm32v7
platform:
architecture: arm
variant: v7
Expand Down

0 comments on commit e0d7f82

Please sign in to comment.