Skip to content

Commit

Permalink
Changing The Kubernetes Package Repository
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpeng committed Oct 25, 2023
1 parent 8c0edff commit c2c363a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
- run:
name: Build an amd64 container image
command: |
docker build -f Dockerfile.amd64 -t wise2c/kubeadm-version:amd64-$CIRCLE_BRANCH .
docker build -t wise2c/kubeadm-version:amd64-$CIRCLE_BRANCH .
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker push wise2c/kubeadm-version:amd64-$CIRCLE_BRANCH
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:amd64-$CIRCLE_BRANCH kubeadm config images list
Expand All @@ -18,7 +18,7 @@ jobs:
- run:
name: Build an amd64 container image
command: |
docker build -f Dockerfile.amd64 -t wise2c/kubeadm-version:amd64-$CIRCLE_TAG .
docker build -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 --kubernetes-version $CIRCLE_TAG
Expand All @@ -31,7 +31,7 @@ jobs:
- run:
name: Build an aarch64 container image
command: |
docker build -f Dockerfile.aarch64 -t wise2c/kubeadm-version:aarch64-$CIRCLE_BRANCH .
docker build -t wise2c/kubeadm-version:aarch64-$CIRCLE_BRANCH .
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker push wise2c/kubeadm-version:aarch64-$CIRCLE_BRANCH
docker run --rm --name=kubeadm-version wise2c/kubeadm-version:aarch64-$CIRCLE_BRANCH kubeadm config images list
Expand All @@ -44,7 +44,7 @@ jobs:
- run:
name: Build an aarch64 container image
command: |
docker build -f Dockerfile.aarch64 -t wise2c/kubeadm-version:aarch64-$CIRCLE_TAG .
docker build -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 --kubernetes-version $CIRCLE_TAG
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64 → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM almalinux:9
COPY kubernetes-amd64.repo /etc/yum.repos.d
COPY kubernetes.repo /etc/yum.repos.d
RUN yum -y install kubeadm-1.28.3 kubectl-1.28.3 kubelet-1.28.3
3 changes: 0 additions & 3 deletions Dockerfile.amd64

This file was deleted.

6 changes: 0 additions & 6 deletions kubernetes-amd64.repo

This file was deleted.

File renamed without changes.

0 comments on commit c2c363a

Please sign in to comment.