update manifest

This commit is contained in:
buanet
2019-10-22 17:03:50 +02:00
parent 85ffcfd00a
commit 97a4d02f0d
4 changed files with 59 additions and 0 deletions

View File

@@ -77,6 +77,15 @@ after_success:
#manifest for image: buanet/iobroker:latest #manifest for image: buanet/iobroker:latest
cat manifest.yaml | sed "s/\$DOCKERTAG/latest/g" > manifestlatest.yaml 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 #push to hub
mv manifestversion.yaml iobroker.yaml mv manifestversion.yaml iobroker.yaml
@@ -84,6 +93,15 @@ after_success:
mv manifestlatest.yaml iobroker.yaml mv manifestlatest.yaml iobroker.yaml
./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec 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 fi
if [ "$TRAVIS_BRANCH" == "beta" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$JOB_NAME" == "Manifest" ]; then if [ "$TRAVIS_BRANCH" == "beta" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$JOB_NAME" == "Manifest" ]; then
@@ -96,10 +114,28 @@ after_success:
#manifest for image: buanet/iobroker:beta #manifest for image: buanet/iobroker:beta
cat manifest.yaml | sed "s/\$DOCKERTAG/beta/g" > manifestbeta.yaml 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 #push to hub
mv manifestversion.yaml iobroker.yaml mv manifestversion.yaml iobroker.yaml
./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec iobroker.yaml ./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec iobroker.yaml
mv manifestbeta.yaml iobroker.yaml mv manifestbeta.yaml iobroker.yaml
./manifest-tool --username $HUB_USER --password $HUB_PASS push from-spec 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 fi

8
manifest_aarch64.yml Normal file
View File

@@ -0,0 +1,8 @@
image: buanet/iobroker-testing:$VERSION-aarch64
manifests:
-
image: buanet/iobroker-testing:$VERSION-aarch64
platform:
architecture: arm64
variant: v8
os: linux

7
manifest_amd64.yml Normal file
View File

@@ -0,0 +1,7 @@
image: buanet/iobroker-testing:$VERSION-amd64
manifests:
-
image: buanet/iobroker-testing:$VERSION-amd64
platform:
architecture: amd64
os: linux

8
manifest_armv7hf.yml Normal file
View File

@@ -0,0 +1,8 @@
image: buanet/iobroker-testing:$VERSION-armv7hf
manifests:
-
image: buanet/iobroker-testing:$VERSION-armv7hf
platform:
architecture: arm
variant: v7
os: linux