Skip to content

Commit f6202a6

Browse files
committed
Use chmod
1 parent 6c8854f commit f6202a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wercker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ integration-test179:
5757
# Copy Docker file to OCI host and load into local Docker registry
5858
yum install -y openssh-clients
5959
echo $OCI_K8S_179_SSHKEY > /tmp/ssh_key
60+
chmod 600 /tmp/ssh_key
6061
scp -i /tmp/ssh_key $WERCKER_OUTPUT_DIR/build.tar opc@$OCI_K8S_179_WORKER0_IP:/scratch/build.tar
6162
ssh -i /tmp/ssh_key opc@$OCI_K8S_179_WORKER0_IP "tar -xvf /scratch/operator.tar”
6263
ssh -i /tmp/ssh_key opc@$OCI_K8S_179_WORKER0_IP "sudo docker build -t weblogic-kubernetes-operator:$WERCKER_GIT_BRANCH --no-cache=true /scratch/”
@@ -135,6 +136,7 @@ integration-test185:
135136
# Copy Docker file to OCI host and load into local Docker registry
136137
yum install -y openssh-clients
137138
echo $OCI_K8S_185_SSHKEY > /tmp/ssh_key
139+
chmod 600 /tmp/ssh_key
138140
scp -i /tmp/ssh_key $WERCKER_OUTPUT_DIR/build.tar opc@$OCI_K8S_185_WORKER0_IP:/scratch/build.tar
139141
ssh -i /tmp/ssh_key opc@$OCI_K8S_185_WORKER0_IP "tar -xvf /scratch/operator.tar”
140142
ssh -i /tmp/ssh_key opc@$OCI_K8S_185_WORKER0_IP "sudo docker build -t weblogic-kubernetes-operator:$WERCKER_GIT_BRANCH --no-cache=true /scratch/”

0 commit comments

Comments
 (0)