Skip to content

Commit

Permalink
Set the exact Kubernetes version
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpeng committed May 20, 2023
1 parent 72e1191 commit dfb63a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
docker build -f Dockerfile.amd64 -t wise2c/kubeadm-version:amd64-$CIRCLE_TAG .
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker push wise2c/kubeadm-version:amd64-$CIRCLE_TAG
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:amd64-$CIRCLE_TAG kubeadm config images list
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:amd64-$CIRCLE_TAG kubeadm config images list --kubernetes-version $CIRCLE_TAG
build-branches-aarch64:
machine: true
Expand All @@ -47,7 +47,7 @@ jobs:
docker build -f Dockerfile.aarch64 -t wise2c/kubeadm-version:aarch64-$CIRCLE_TAG .
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker push wise2c/kubeadm-version:aarch64-$CIRCLE_TAG
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:aarch64-$CIRCLE_TAG kubeadm config images list
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:aarch64-$CIRCLE_TAG kubeadm config images list --kubernetes-version $CIRCLE_TAG
build-branches-multi-arch:
machine: true
Expand All @@ -73,7 +73,7 @@ jobs:
docker manifest annotate wise2c/kubeadm-version:$CIRCLE_TAG wise2c/kubeadm-version:aarch64-$CIRCLE_TAG --os linux --arch arm64
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker manifest push wise2c/kubeadm-version:$CIRCLE_TAG
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:$CIRCLE_TAG kubeadm config images list
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:$CIRCLE_TAG kubeadm config images list --kubernetes-version $CIRCLE_TAG
workflows:
version: 2
Expand Down

0 comments on commit dfb63a1

Please sign in to comment.