diff --git a/.travis.yml b/.travis.yml index 885322b..e1ee2c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,6 +77,15 @@ after_success: #manifest for image: buanet/iobroker:latest cat manifest.yaml | sed "s/\$DOCKERTAG/latest/g" > manifestlatest.yaml + + #manifest for image: buanet/iobroker:VERSION-amd64 + cat manifest_amd64.yml | sed "s/\$VERSION/${VERSION}/g" > manifest_amd64.yaml + + #manifest for image: buanet/iobroker:VERSION-armv7hf + cat manifest_armv7hf.yml | sed "s/\$VERSION/${VERSION}/g" > manifest_armv7hf.yaml + + #manifest for image: buanet/iobroker:VERSION-aarch64 + cat manifest_aarch64.yml | sed "s/\$VERSION/${VERSION}/g" > manifest_aarch64.yaml #push to hub mv manifestversion.yaml iobroker.yaml @@ -84,6 +93,15 @@ after_success: mv manifestlatest.yaml iobroker.yaml ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec iobroker.yaml + + mv manifest_amd64.yaml manifest.yaml + ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec manifest.yaml + + mv manifest_armv7hf.yaml manifest.yaml + ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec manifest.yaml + + mv manifest_aarch64.yaml manifest.yaml + ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec manifest.yaml fi if [ "$TRAVIS_BRANCH" == "beta" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$JOB_NAME" == "Manifest" ]; then @@ -96,10 +114,28 @@ after_success: #manifest for image: buanet/iobroker:beta cat manifest.yaml | sed "s/\$DOCKERTAG/beta/g" > manifestbeta.yaml + #manifest for image: buanet/iobroker:VERSION-amd64 + cat manifest_amd64.yml | sed "s/\$VERSION/${VERSION}/g" > manifest_amd64.yaml + + #manifest for image: buanet/iobroker:VERSION-armv7hf + cat manifest_armv7hf.yml | sed "s/\$VERSION/${VERSION}/g" > manifest_armv7hf.yaml + + #manifest for image: buanet/iobroker:VERSION-aarch64 + cat manifest_aarch64.yml | sed "s/\$VERSION/${VERSION}/g" > manifest_aarch64.yaml + #push to hub mv manifestversion.yaml iobroker.yaml ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec iobroker.yaml mv manifestbeta.yaml iobroker.yaml ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec iobroker.yaml + + mv manifest_amd64.yaml manifest.yaml + ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec manifest.yaml + + mv manifest_armv7hf.yaml manifest.yaml + ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec manifest.yaml + + mv manifest_aarch64.yaml manifest.yaml + ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec manifest.yaml fi diff --git a/manifest_aarch64.yml b/manifest_aarch64.yml new file mode 100644 index 0000000..0f98f77 --- /dev/null +++ b/manifest_aarch64.yml @@ -0,0 +1,8 @@ +image: buanet/iobroker-testing:$VERSION-aarch64 +manifests: + - + image: buanet/iobroker-testing:$VERSION-aarch64 + platform: + architecture: arm64 + variant: v8 + os: linux \ No newline at end of file diff --git a/manifest_amd64.yml b/manifest_amd64.yml new file mode 100644 index 0000000..b7dffd5 --- /dev/null +++ b/manifest_amd64.yml @@ -0,0 +1,7 @@ +image: buanet/iobroker-testing:$VERSION-amd64 +manifests: + - + image: buanet/iobroker-testing:$VERSION-amd64 + platform: + architecture: amd64 + os: linux \ No newline at end of file diff --git a/manifest_armv7hf.yml b/manifest_armv7hf.yml new file mode 100644 index 0000000..6b9dc3a --- /dev/null +++ b/manifest_armv7hf.yml @@ -0,0 +1,8 @@ +image: buanet/iobroker-testing:$VERSION-armv7hf +manifests: + - + image: buanet/iobroker-testing:$VERSION-armv7hf + platform: + architecture: arm + variant: v7 + os: linux \ No newline at end of file