diff --git a/.github/fiware/core/cygnus.sh b/.github/fiware/core/cygnus.sh index 76a18ef4c..8904d354a 100755 --- a/.github/fiware/core/cygnus.sh +++ b/.github/fiware/core/cygnus.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/draco.sh b/.github/fiware/core/draco.sh index 744b0f9ea..cfdb8c51c 100755 --- a/.github/fiware/core/draco.sh +++ b/.github/fiware/core/draco.sh @@ -18,14 +18,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/o2kconnector.sh b/.github/fiware/core/o2kconnector.sh index b83880fc9..db2bb4389 100755 --- a/.github/fiware/core/o2kconnector.sh +++ b/.github/fiware/core/o2kconnector.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/orion.sh b/.github/fiware/core/orion.sh index bcb412398..aa019e141 100755 --- a/.github/fiware/core/orion.sh +++ b/.github/fiware/core/orion.sh @@ -18,14 +18,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/pyspark-connector.sh b/.github/fiware/core/pyspark-connector.sh index ecad7e42d..7869cbd6d 100755 --- a/.github/fiware/core/pyspark-connector.sh +++ b/.github/fiware/core/pyspark-connector.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/quantum-leap.sh b/.github/fiware/core/quantum-leap.sh index 8dd9460f4..367be97a1 100755 --- a/.github/fiware/core/quantum-leap.sh +++ b/.github/fiware/core/quantum-leap.sh @@ -18,14 +18,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-at-context-server.sh b/.github/fiware/core/scorpio-at-context-server.sh index b2ad69d0a..3b49e9e21 100755 --- a/.github/fiware/core/scorpio-at-context-server.sh +++ b/.github/fiware/core/scorpio-at-context-server.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-entity-manager.sh b/.github/fiware/core/scorpio-entity-manager.sh index ce1cc3421..808f37a67 100755 --- a/.github/fiware/core/scorpio-entity-manager.sh +++ b/.github/fiware/core/scorpio-entity-manager.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-history-entity.sh b/.github/fiware/core/scorpio-history-entity.sh index 1a404e24c..5afa0ce37 100755 --- a/.github/fiware/core/scorpio-history-entity.sh +++ b/.github/fiware/core/scorpio-history-entity.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-history-query.sh b/.github/fiware/core/scorpio-history-query.sh index 195c93257..a13ca720a 100755 --- a/.github/fiware/core/scorpio-history-query.sh +++ b/.github/fiware/core/scorpio-history-query.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-query-manager.sh b/.github/fiware/core/scorpio-query-manager.sh index 9f3559fc2..579169f35 100755 --- a/.github/fiware/core/scorpio-query-manager.sh +++ b/.github/fiware/core/scorpio-query-manager.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-registry-manager.sh b/.github/fiware/core/scorpio-registry-manager.sh index 3182c52f0..0ac2046c0 100755 --- a/.github/fiware/core/scorpio-registry-manager.sh +++ b/.github/fiware/core/scorpio-registry-manager.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-subscription-manager.sh b/.github/fiware/core/scorpio-subscription-manager.sh index bb0dc5134..133b572ab 100755 --- a/.github/fiware/core/scorpio-subscription-manager.sh +++ b/.github/fiware/core/scorpio-subscription-manager.sh @@ -17,16 +17,14 @@ function dateDiff { echo $(((`date -jf %Y-%m-%d "$CURRENTDATE" +%s` - `date -jf %Y-%m-%d "$1" +%s`)/86400)) } echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." + function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio-subscription-registry.sh b/.github/fiware/core/scorpio-subscription-registry.sh index 06153d25a..45c6c608f 100755 --- a/.github/fiware/core/scorpio-subscription-registry.sh +++ b/.github/fiware/core/scorpio-subscription-registry.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/scorpio.sh b/.github/fiware/core/scorpio.sh index 190e8a3f5..f2be220da 100755 --- a/.github/fiware/core/scorpio.sh +++ b/.github/fiware/core/scorpio.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/sth-comet.sh b/.github/fiware/core/sth-comet.sh index cff182041..1e99c6caa 100755 --- a/.github/fiware/core/sth-comet.sh +++ b/.github/fiware/core/sth-comet.sh @@ -18,14 +18,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/core/x-ngsijs.sh b/.github/fiware/core/x-ngsijs.sh index 154c9f17f..b0f820a25 100755 --- a/.github/fiware/core/x-ngsijs.sh +++ b/.github/fiware/core/x-ngsijs.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/iotagent-json.sh b/.github/fiware/iot-agents/iotagent-json.sh index 095216917..7b757ebf4 100755 --- a/.github/fiware/iot-agents/iotagent-json.sh +++ b/.github/fiware/iot-agents/iotagent-json.sh @@ -17,16 +17,14 @@ function dateDiff { } echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." + function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/iotagent-lightweightM2M.sh b/.github/fiware/iot-agents/iotagent-lightweightM2M.sh index 7add88a18..83162075b 100755 --- a/.github/fiware/iot-agents/iotagent-lightweightM2M.sh +++ b/.github/fiware/iot-agents/iotagent-lightweightM2M.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/iotagent-sigfox.sh b/.github/fiware/iot-agents/iotagent-sigfox.sh index 82497a4df..be954ca0c 100755 --- a/.github/fiware/iot-agents/iotagent-sigfox.sh +++ b/.github/fiware/iot-agents/iotagent-sigfox.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/iotagent-ultralight.sh b/.github/fiware/iot-agents/iotagent-ultralight.sh index 0a3cfba9c..0a169ee55 100755 --- a/.github/fiware/iot-agents/iotagent-ultralight.sh +++ b/.github/fiware/iot-agents/iotagent-ultralight.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/x-OpenMTC.sh b/.github/fiware/iot-agents/x-OpenMTC.sh index 7827c9817..e51562bc0 100755 --- a/.github/fiware/iot-agents/x-OpenMTC.sh +++ b/.github/fiware/iot-agents/x-OpenMTC.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/x-iotagent-LoRaWAN.sh b/.github/fiware/iot-agents/x-iotagent-LoRaWAN.sh index 4f1dc7da4..e1ce83665 100755 --- a/.github/fiware/iot-agents/x-iotagent-LoRaWAN.sh +++ b/.github/fiware/iot-agents/x-iotagent-LoRaWAN.sh @@ -16,14 +16,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/x-kurento.sh b/.github/fiware/iot-agents/x-kurento.sh index 51be227c3..8ee7bc967 100755 --- a/.github/fiware/iot-agents/x-kurento.sh +++ b/.github/fiware/iot-agents/x-kurento.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/iot-agents/x-open-vidu.sh b/.github/fiware/iot-agents/x-open-vidu.sh index d50e647c2..6a2a74cc7 100755 --- a/.github/fiware/iot-agents/x-open-vidu.sh +++ b/.github/fiware/iot-agents/x-open-vidu.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/processing/perseo-back-end.sh b/.github/fiware/processing/perseo-back-end.sh index ca551e355..4c0ed6de6 100755 --- a/.github/fiware/processing/perseo-back-end.sh +++ b/.github/fiware/processing/perseo-back-end.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/processing/perseo-front-end.sh b/.github/fiware/processing/perseo-front-end.sh index a8e0a921e..1376d8a32 100755 --- a/.github/fiware/processing/perseo-front-end.sh +++ b/.github/fiware/processing/perseo-front-end.sh @@ -21,14 +21,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/processing/x-fogflow.sh b/.github/fiware/processing/x-fogflow.sh index fc93efdb3..3558c1f1e 100755 --- a/.github/fiware/processing/x-fogflow.sh +++ b/.github/fiware/processing/x-fogflow.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/processing/x-wirecloud.sh b/.github/fiware/processing/x-wirecloud.sh index 19422374b..a595f5202 100755 --- a/.github/fiware/processing/x-wirecloud.sh +++ b/.github/fiware/processing/x-wirecloud.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/robotics/iotagent-opcua.sh b/.github/fiware/robotics/iotagent-opcua.sh index 31daeccdb..d614f3088 100755 --- a/.github/fiware/robotics/iotagent-opcua.sh +++ b/.github/fiware/robotics/iotagent-opcua.sh @@ -20,14 +20,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/anubis.sh b/.github/fiware/security/anubis.sh index 48ff6c838..81e873bde 100755 --- a/.github/fiware/security/anubis.sh +++ b/.github/fiware/security/anubis.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/keypass.sh b/.github/fiware/security/keypass.sh index 14e3b83a3..1aab81ead 100755 --- a/.github/fiware/security/keypass.sh +++ b/.github/fiware/security/keypass.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/keyrock.sh b/.github/fiware/security/keyrock.sh index 527c6de7a..d23d9a500 100755 --- a/.github/fiware/security/keyrock.sh +++ b/.github/fiware/security/keyrock.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/keystone-spassword.sh b/.github/fiware/security/keystone-spassword.sh index 32de35c78..b0b553af3 100755 --- a/.github/fiware/security/keystone-spassword.sh +++ b/.github/fiware/security/keystone-spassword.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/pep-steelskin.sh b/.github/fiware/security/pep-steelskin.sh index a4b2c2754..b8b7177d1 100755 --- a/.github/fiware/security/pep-steelskin.sh +++ b/.github/fiware/security/pep-steelskin.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/wilma.sh b/.github/fiware/security/wilma.sh index 911bcaf15..38eea439a 100755 --- a/.github/fiware/security/wilma.sh +++ b/.github/fiware/security/wilma.sh @@ -19,14 +19,11 @@ echo "$SOURCE - $VERSION - $(dateDiff $DATE) days old." function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/x-authzforce.sh b/.github/fiware/security/x-authzforce.sh index b632d2da9..efc24409b 100755 --- a/.github/fiware/security/x-authzforce.sh +++ b/.github/fiware/security/x-authzforce.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/x-keystone-scim.sh b/.github/fiware/security/x-keystone-scim.sh index 623eeacda..5b9dff7bd 100755 --- a/.github/fiware/security/x-keystone-scim.sh +++ b/.github/fiware/security/x-keystone-scim.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/security/x-true-connector.sh b/.github/fiware/security/x-true-connector.sh index 103b32bf9..577052290 100755 --- a/.github/fiware/security/x-true-connector.sh +++ b/.github/fiware/security/x-true-connector.sh @@ -15,14 +15,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/third-party/x-domibus.sh b/.github/fiware/third-party/x-domibus.sh index 4c39c5e43..4e613520a 100755 --- a/.github/fiware/third-party/x-domibus.sh +++ b/.github/fiware/third-party/x-domibus.sh @@ -17,14 +17,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi } diff --git a/.github/fiware/third-party/x-oliot.sh b/.github/fiware/third-party/x-oliot.sh index 04065a22a..0008bf035 100755 --- a/.github/fiware/third-party/x-oliot.sh +++ b/.github/fiware/third-party/x-oliot.sh @@ -16,14 +16,11 @@ exit 0 function clone { echo 'cloning from '"$1 $2"' to '"$3" - docker pull -q "$1":"$2" - docker tag "$1":"$2" "$3":"$2" - docker push -q "$3":"$2" + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":"$2" if ! [ -z "$4" ]; then echo 'pushing '"$1 $2"' to latest' - docker tag "$1":"$2" "$3":latest - docker push -q "$3":latest + skopeo copy --multi-arch all docker://"$1":"$2" docker://"$3":latest fi }