Skip to content

Commit

Permalink
fixed docker commands (#390)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>
  • Loading branch information
Jonsy13 authored Jul 21, 2023
1 parent a23296b commit 8c34a40
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion custom/argo-server/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/argo-workflow-controller/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/argo-workflow-executor/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/curl/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/hardened-alpine/experiment/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion custom/hardened-alpine/infra/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/k8s/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/litmus-checker/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/litmus-helm-agent/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/litmusctl/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/mongo-utils/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/mongo/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/workflow-helper/app-checker/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/workflow-helper/app-deployer/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion custom/workflow-helper/app-qps-test/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 8c34a40

Please sign in to comment.