-
Notifications
You must be signed in to change notification settings - Fork 147
/
Copy pathcontainer_controller.sh
executable file
·18 lines (15 loc) · 1.09 KB
/
container_controller.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
cd extras/controller
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
podman build -t quay.io/karmab/kcli-controller:latest .
podman login -u $QUAY_USERNAME -p $QUAY_PASSWORD quay.io
podman push quay.io/karmab/kcli-controller:latest
#curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
#podman build --arch=amd64 -t quay.io/karmab/kcli-controller:amd64 .
#curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl"
#podman build --arch=arm64 -t quay.io/karmab/kcli-controller:arm64 .
#podman login -u $QUAY_USERNAME -p $QUAY_PASSWORD quay.io
#podman manifest create quay.io/karmab/kcli-controller:latest
#podman manifest add quay.io/karmab/kcli-controller:latest docker://quay.io/karmab/kcli-controller:amd64
#podman manifest add quay.io/karmab/kcli-controller:latest docker://quay.io/karmab/kcli-controller:arm64
#podman manifest push --all quay.io/karmab/kcli-controller:latest docker://quay.io/karmab/kcli-controller:latest