Skip to content

Commit

Permalink
Use multi architecture image manifests
Browse files Browse the repository at this point in the history
Additionaly several new tags have been added to multi-architecture images.

The complete list of tags is now:

openhab/openhab:<version>
openhab/openhab:<version>-<distribution>
openhab/openhab:<version>-<architecture>-<distribution>
openhab/openhab:latest
openhab/openhab:latest-<distribution>
openhab/openhab:milestone
openhab/openhab:milestone-<distribution>
openhab/openhab:snapshot
openhab/openhab:snapshot-<distribution>

Signed-off-by: Wouter Born <eclipse@maindrain.net>
  • Loading branch information
wborn committed Dec 6, 2018
1 parent 6cd7f59 commit d2742bf
Show file tree
Hide file tree
Showing 134 changed files with 566 additions and 5,097 deletions.
87 changes: 29 additions & 58 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,70 +15,41 @@ services:
before_install:
- sudo apt-get install -y uidmap
- ./update-docker-files.sh
- ./update-img.sh
- ./install-img.sh
- ./install-manifest-tool.sh
- docker info
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- ARCHES="amd64 armhf arm64"
install:
- docker build --build-arg VCS_REF=$TRAVIS_COMMIT --build-arg BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ") --build-arg VERSION=$VERSION -t $DOCKER_REPO:$VERSION-$TARGET-$DIST $VERSION/$TARGET/$DIST
- docker run --rm $DOCKER_REPO:$VERSION-$TARGET-$DIST uname -a
- for ARCH in $ARCHES; do
docker build --build-arg VCS_REF=$TRAVIS_COMMIT --build-arg BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ") --build-arg VERSION=$VERSION -f $VERSION/$DIST/Dockerfile-$ARCH -t $DOCKER_REPO:$VERSION-$ARCH-$DIST $VERSION/$DIST;
docker run --rm $DOCKER_REPO:$VERSION-$ARCH-$DIST uname -a;
done
after_success:
- docker login -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD
- docker push $DOCKER_REPO:$VERSION-$TARGET-$DIST
- for ARCH in $ARCHES; do
docker push $DOCKER_REPO:$VERSION-$ARCH-$DIST;
done
- manifest-tool push from-spec $VERSION/$DIST/manifest.yml
matrix:
fast_finish: true
env:
matrix:
- VERSION=1.8.3 DIST=alpine TARGET=amd64
- VERSION=1.8.3 DIST=alpine TARGET=arm64
- VERSION=1.8.3 DIST=alpine TARGET=armhf
- VERSION=1.8.3 DIST=debian TARGET=amd64
- VERSION=1.8.3 DIST=debian TARGET=arm64
- VERSION=1.8.3 DIST=debian TARGET=armhf
- VERSION=2.0.0 DIST=alpine TARGET=amd64
- VERSION=2.0.0 DIST=alpine TARGET=arm64
- VERSION=2.0.0 DIST=alpine TARGET=armhf
- VERSION=2.0.0 DIST=debian TARGET=amd64
- VERSION=2.0.0 DIST=debian TARGET=arm64
- VERSION=2.0.0 DIST=debian TARGET=armhf
- VERSION=2.1.0 DIST=alpine TARGET=amd64
- VERSION=2.1.0 DIST=alpine TARGET=arm64
- VERSION=2.1.0 DIST=alpine TARGET=armhf
- VERSION=2.1.0 DIST=debian TARGET=amd64
- VERSION=2.1.0 DIST=debian TARGET=arm64
- VERSION=2.1.0 DIST=debian TARGET=armhf
- VERSION=2.2.0 DIST=alpine TARGET=amd64
- VERSION=2.2.0 DIST=alpine TARGET=arm64
- VERSION=2.2.0 DIST=alpine TARGET=armhf
- VERSION=2.2.0 DIST=debian TARGET=amd64
- VERSION=2.2.0 DIST=debian TARGET=arm64
- VERSION=2.2.0 DIST=debian TARGET=armhf
- VERSION=2.3.0 DIST=alpine TARGET=amd64
- VERSION=2.3.0 DIST=alpine TARGET=arm64
- VERSION=2.3.0 DIST=alpine TARGET=armhf
- VERSION=2.3.0 DIST=debian TARGET=amd64
- VERSION=2.3.0 DIST=debian TARGET=arm64
- VERSION=2.3.0 DIST=debian TARGET=armhf
- VERSION=2.4.0.M5 DIST=alpine TARGET=amd64
- VERSION=2.4.0.M5 DIST=alpine TARGET=arm64
- VERSION=2.4.0.M5 DIST=alpine TARGET=armhf
- VERSION=2.4.0.M5 DIST=debian TARGET=amd64
- VERSION=2.4.0.M5 DIST=debian TARGET=arm64
- VERSION=2.4.0.M5 DIST=debian TARGET=armhf
- VERSION=2.4.0.M6 DIST=alpine TARGET=amd64
- VERSION=2.4.0.M6 DIST=alpine TARGET=arm64
- VERSION=2.4.0.M6 DIST=alpine TARGET=armhf
- VERSION=2.4.0.M6 DIST=debian TARGET=amd64
- VERSION=2.4.0.M6 DIST=debian TARGET=arm64
- VERSION=2.4.0.M6 DIST=debian TARGET=armhf
- VERSION=2.4.0.M7 DIST=alpine TARGET=amd64
- VERSION=2.4.0.M7 DIST=alpine TARGET=arm64
- VERSION=2.4.0.M7 DIST=alpine TARGET=armhf
- VERSION=2.4.0.M7 DIST=debian TARGET=amd64
- VERSION=2.4.0.M7 DIST=debian TARGET=arm64
- VERSION=2.4.0.M7 DIST=debian TARGET=armhf
- VERSION=2.4.0-snapshot DIST=alpine TARGET=amd64
- VERSION=2.4.0-snapshot DIST=alpine TARGET=arm64
- VERSION=2.4.0-snapshot DIST=alpine TARGET=armhf
- VERSION=2.4.0-snapshot DIST=debian TARGET=amd64
- VERSION=2.4.0-snapshot DIST=debian TARGET=arm64
- VERSION=2.4.0-snapshot DIST=debian TARGET=armhf
- VERSION=1.8.3 DIST=alpine
- VERSION=1.8.3 DIST=debian
- VERSION=2.0.0 DIST=alpine
- VERSION=2.0.0 DIST=debian
- VERSION=2.1.0 DIST=alpine
- VERSION=2.1.0 DIST=debian
- VERSION=2.2.0 DIST=alpine
- VERSION=2.2.0 DIST=debian
- VERSION=2.3.0 DIST=alpine
- VERSION=2.3.0 DIST=debian
- VERSION=2.4.0.M5 DIST=alpine
- VERSION=2.4.0.M5 DIST=debian
- VERSION=2.4.0.M6 DIST=alpine
- VERSION=2.4.0.M6 DIST=debian
- VERSION=2.4.0.M7 DIST=alpine
- VERSION=2.4.0.M7 DIST=debian
- VERSION=2.4.0-snapshot DIST=alpine
- VERSION=2.4.0-snapshot DIST=debian
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions 1.8.3/alpine/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
image: openhab/openhab:1.8.3-alpine
tags: []
manifests:
-
image: openhab/openhab:1.8.3-amd64-alpine
platform:
architecture: amd64
os: linux
-
image: openhab/openhab:1.8.3-armhf-alpine
platform:
architecture: arm
os: linux
-
image: openhab/openhab:1.8.3-arm64-alpine
platform:
architecture: arm64
os: linux
124 changes: 0 additions & 124 deletions 1.8.3/amd64/alpine/entrypoint.sh

This file was deleted.

124 changes: 0 additions & 124 deletions 1.8.3/arm64/alpine/entrypoint.sh

This file was deleted.

Loading

0 comments on commit d2742bf

Please sign in to comment.