Skip to content

Commit

Permalink
ci: Fix cleanup on gke job
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
  • Loading branch information
nebril authored and aanm committed Apr 16, 2020
1 parent 615e3d0 commit b4c1fb5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/clean-local-registry-tag.sh
Expand Up @@ -9,12 +9,16 @@ if [[ $1 == *"docker.io"* || $1 == *"quay.io"* ]]; then
exit 0
fi

docker pull docker.io/library/busybox:1.31.1
BUSYBOX_VERSION=1.31.1

docker tag busybox $1/cilium/cilium:$2
docker tag busybox $1/cilium/cilium-dev:$2
docker tag busybox $1/cilium/operator:$2
docker pull docker.io/library/busybox:$BUSYBOX_VERSION

docker tag busybox:$BUSYBOX_VERSION $1/cilium/cilium:$2
docker tag busybox:$BUSYBOX_VERSION $1/cilium/cilium-dev:$2
docker tag busybox:$BUSYBOX_VERSION $1/cilium/operator:$2

docker push $1/cilium/cilium:$2
docker push $1/cilium/cilium-dev:$2
docker push $1/cilium/operator:$2

docker system prune -f

0 comments on commit b4c1fb5

Please sign in to comment.