100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
CI/CD: Fix issue with latest docker buildx version (#917)
Rich Turnera33bacdab229
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.shindex 9377ac52a..cd1cebbd7 100644--- a/.ci_cd/deploy.sh+++ b/.ci_cd/deploy.sh@@ -143,7 +143,7 @@ PLATFORM="linux/$PLATFORM"# Verify manager tag and create docker image tarballs as requiredif [ "$MANAGER_TAG" != '#ref' ]; then- docker manifest inspect openremote/manager:$MANAGER_TAG > /dev/null 2> /dev/null+ docker buildx imagetools inspect --raw openremote/manager:$MANAGER_TAG > /dev/null 2> /dev/nullif [ $? -ne 0 ]; thenecho "Specified manager tag does not exist in docker hub"revoke_sshdiff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex d92b7d4a7..66fdfd52c 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -289,7 +289,7 @@ jobs:for key in managerPushConfig.keys():# Output new tag cache files (for generating hash)os.system(f"echo 'Outputting manifest info for tag: {key}'")- os.system(f"docker manifest inspect openremote/manager:{key} > ~/manager-tags-new/{key}")+ os.system(f"docker buildx imagetools inspect --raw openremote/manager:{key} > ~/manager-tags-new/{key}")os.system("echo 'Tag manifests generated:'")os.system("find ~/manager-tags-new")env: