From 83e4e7a7738b62f64225e8e73929e95264536f2c Mon Sep 17 00:00:00 2001 From: Jonsy13 Date: Fri, 21 Jul 2023 14:32:03 +0530 Subject: [PATCH] fixed docker commands Signed-off-by: Jonsy13 --- custom/argo-server/buildscripts/push | 2 +- custom/argo-workflow-controller/buildscripts/push | 2 +- custom/argo-workflow-executor/buildscripts/push | 2 +- custom/curl/buildscripts/push | 2 +- custom/hardened-alpine/experiment/buildscripts/push | 2 +- custom/hardened-alpine/infra/buildscripts/push | 2 +- custom/k8s/buildscripts/push | 2 +- custom/litmus-checker/buildscripts/push | 2 +- custom/litmus-helm-agent/buildscripts/push | 2 +- custom/litmusctl/buildscripts/push | 2 +- custom/mongo-utils/buildscripts/push | 2 +- custom/mongo/buildscripts/push | 2 +- custom/workflow-helper/app-checker/buildscripts/push | 2 +- custom/workflow-helper/app-deployer/buildscripts/push | 2 +- custom/workflow-helper/app-qps-test/buildscripts/push | 2 +- custom/workflow-helper/postgres-helper/jmeter/buildscripts/push | 2 +- .../workflow-helper/postgres-helper/load-test/buildscripts/push | 2 +- custom/workflow-helper/redis-helper/load-gen/buildscripts/push | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/custom/argo-server/buildscripts/push b/custom/argo-server/buildscripts/push index e150e6cf..5ddf6867 100755 --- a/custom/argo-server/buildscripts/push +++ b/custom/argo-server/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/argocli:v2.11.0 . + docker buildx build -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/argocli:v2.11.0 . else echo "No docker credentials provided. Skip uploading litmuschaos/argocli:v2.11.0 to docker hub"; fi; diff --git a/custom/argo-workflow-controller/buildscripts/push b/custom/argo-workflow-controller/buildscripts/push index 3fcd781c..720c187b 100755 --- a/custom/argo-workflow-controller/buildscripts/push +++ b/custom/argo-workflow-controller/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/workflow-controller:v3.3.1 . + docker buildx build -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/workflow-controller:v3.3.1 . else echo "No docker credentials provided. Skip uploading litmuschaos/workflow-controller:v3.3.1 to docker hub"; fi; diff --git a/custom/argo-workflow-executor/buildscripts/push b/custom/argo-workflow-executor/buildscripts/push index acc2854c..a50d72d3 100755 --- a/custom/argo-workflow-executor/buildscripts/push +++ b/custom/argo-workflow-executor/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/argoexec:v3.3.1 . + docker buildx build -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/argoexec:v3.3.1 . else echo "No docker credentials provided. Skip uploading litmuschaos/argoexec:v3.3.1 to docker hub"; fi; diff --git a/custom/curl/buildscripts/push b/custom/curl/buildscripts/push index bf916462..24967e20 100755 --- a/custom/curl/buildscripts/push +++ b/custom/curl/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/curl:latest . + docker buildx build -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/curl:latest . else echo "No docker credentials provided. Skip uploading litmuschaos/curl:latest to docker hub"; fi; \ No newline at end of file diff --git a/custom/hardened-alpine/experiment/buildscripts/push b/custom/hardened-alpine/experiment/buildscripts/push index 2909ec95..573b8169 100755 --- a/custom/hardened-alpine/experiment/buildscripts/push +++ b/custom/hardened-alpine/experiment/buildscripts/push @@ -4,7 +4,7 @@ set -e if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --build-arg LITMUS_VERSION=2.10.0 --tag litmuschaos/experiment-alpine:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --build-arg LITMUS_VERSION=2.10.0 --tag litmuschaos/experiment-alpine:latest else echo "No docker credentials provided. Skip uploading litmuschaos/experiment-alpine:latest to docker hub"; fi; diff --git a/custom/hardened-alpine/infra/buildscripts/push b/custom/hardened-alpine/infra/buildscripts/push index 2a57fc56..31077a40 100755 --- a/custom/hardened-alpine/infra/buildscripts/push +++ b/custom/hardened-alpine/infra/buildscripts/push @@ -4,7 +4,7 @@ set -e if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/infra-alpine:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/infra-alpine:latest else echo "No docker credentials provided. Skip uploading litmuschaos/infra-alpine:latest to docker hub"; fi; diff --git a/custom/k8s/buildscripts/push b/custom/k8s/buildscripts/push index e7fcb305..27424c5b 100755 --- a/custom/k8s/buildscripts/push +++ b/custom/k8s/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/k8s:latest . + docker buildx build -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/k8s:latest . else echo "No docker credentials provided. Skip uploading litmuschaos/k8s:latest to docker hub"; fi; \ No newline at end of file diff --git a/custom/litmus-checker/buildscripts/push b/custom/litmus-checker/buildscripts/push index 5b010099..3a455251 100755 --- a/custom/litmus-checker/buildscripts/push +++ b/custom/litmus-checker/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-checker:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-checker:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-checker:latest to docker hub"; fi; diff --git a/custom/litmus-helm-agent/buildscripts/push b/custom/litmus-helm-agent/buildscripts/push index e0de6d42..16af5c79 100755 --- a/custom/litmus-helm-agent/buildscripts/push +++ b/custom/litmus-helm-agent/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-helm-agent:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-helm-agent:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-helm-agent:latest to docker hub"; fi; diff --git a/custom/litmusctl/buildscripts/push b/custom/litmusctl/buildscripts/push index 649585b6..adf4cab5 100755 --- a/custom/litmusctl/buildscripts/push +++ b/custom/litmusctl/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmusctl:latest . + docker buildx build -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmusctl:latest . else echo "No docker credentials provided. Skip uploading litmuschaos/litmusctl:latest to docker hub"; fi; \ No newline at end of file diff --git a/custom/mongo-utils/buildscripts/push b/custom/mongo-utils/buildscripts/push index 0b55ddbd..9b05f547 100755 --- a/custom/mongo-utils/buildscripts/push +++ b/custom/mongo-utils/buildscripts/push @@ -6,7 +6,7 @@ then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/mongo-utils:0.1.0 --tag litmuschaos/mongo-utils:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/mongo-utils:0.1.0 --tag litmuschaos/mongo-utils:latest else echo "No docker credentials provided. Skip uploading litmuschaos/mongo-utils:4.0.5 to docker hub"; fi; diff --git a/custom/mongo/buildscripts/push b/custom/mongo/buildscripts/push index 17e1aed4..c375c901 100755 --- a/custom/mongo/buildscripts/push +++ b/custom/mongo/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/mongo:4.2.8 + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/mongo:4.2.8 else echo "No docker credentials provided. Skip uploading litmuschaos/mongo:4.2.8 to docker hub"; fi; diff --git a/custom/workflow-helper/app-checker/buildscripts/push b/custom/workflow-helper/app-checker/buildscripts/push index 3d59c3f0..6b4dbd9f 100755 --- a/custom/workflow-helper/app-checker/buildscripts/push +++ b/custom/workflow-helper/app-checker/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-git-app-checker:latest; + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-git-app-checker:latest; else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-git-app-checker:latest to docker hub"; fi; diff --git a/custom/workflow-helper/app-deployer/buildscripts/push b/custom/workflow-helper/app-deployer/buildscripts/push index 5047b759..2a19cf33 100755 --- a/custom/workflow-helper/app-deployer/buildscripts/push +++ b/custom/workflow-helper/app-deployer/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-app-deployer:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-app-deployer:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-app-deployer:latest to docker hub"; fi; diff --git a/custom/workflow-helper/app-qps-test/buildscripts/push b/custom/workflow-helper/app-qps-test/buildscripts/push index 57b0a7c4..7559fb2d 100755 --- a/custom/workflow-helper/app-qps-test/buildscripts/push +++ b/custom/workflow-helper/app-qps-test/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-qps-cmd:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-qps-cmd:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-qps-cmd:latest to docker hub"; fi; diff --git a/custom/workflow-helper/postgres-helper/jmeter/buildscripts/push b/custom/workflow-helper/postgres-helper/jmeter/buildscripts/push index dda04ada..eaae5075 100755 --- a/custom/workflow-helper/postgres-helper/jmeter/buildscripts/push +++ b/custom/workflow-helper/postgres-helper/jmeter/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-pg-jmeter:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-pg-jmeter:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-pg-jmeter:latest to docker hub"; fi; diff --git a/custom/workflow-helper/postgres-helper/load-test/buildscripts/push b/custom/workflow-helper/postgres-helper/load-test/buildscripts/push index 1218cee8..0d6c2872 100755 --- a/custom/workflow-helper/postgres-helper/load-test/buildscripts/push +++ b/custom/workflow-helper/postgres-helper/load-test/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-pg-load:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-pg-load:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-pg-load:latest to docker hub"; fi; diff --git a/custom/workflow-helper/redis-helper/load-gen/buildscripts/push b/custom/workflow-helper/redis-helper/load-gen/buildscripts/push index 9c8f15a8..04ee742e 100755 --- a/custom/workflow-helper/redis-helper/load-gen/buildscripts/push +++ b/custom/workflow-helper/redis-helper/load-gen/buildscripts/push @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then docker login -u "${DNAME}" -p "${DPASS}"; #Push to docker hub repository with latest tag - docker buildx build . -f Dockerfile --progress plane --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-redis-load:latest + docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/litmus-redis-load:latest else echo "No docker credentials provided. Skip uploading litmuschaos/litmus-redis-load:latest to docker hub"; fi;