-
Notifications
You must be signed in to change notification settings - Fork 550
/
Copy pathbuild_test_images.sh
executable file
·19 lines (14 loc) · 1.32 KB
/
build_test_images.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
# Busybox Operator Index Image
docker build -t quay.io/olmtest/busybox-bundle:1.0.0 ./test/images/busybox-index/busybox/1.0.0
docker build -t quay.io/olmtest/busybox-bundle:2.0.0 ./test/images/busybox-index/busybox/2.0.0
docker build -t quay.io/olmtest/busybox-dependency-bundle:1.0.0 ./test/images/busybox-index/busybox-dependency/1.0.0
docker build -t quay.io/olmtest/busybox-dependency-bundle:2.0.0 ./test/images/busybox-index/busybox-dependency/2.0.0
docker push quay.io/olmtest/busybox-bundle:1.0.0
docker push quay.io/olmtest/busybox-bundle:2.0.0
docker push quay.io/olmtest/busybox-dependency-bundle:1.0.0
docker push quay.io/olmtest/busybox-dependency-bundle:2.0.0
opm index add --bundles quay.io/olmtest/busybox-dependency-bundle:1.0.0,quay.io/olmtest/busybox-bundle:1.0.0 --tag quay.io/olmtest/busybox-dependencies-index:1.0.0-with-ListBundles-method -c docker
docker push quay.io/olmtest/busybox-dependencies-index:1.0.0-with-ListBundles-method
opm index add --bundles quay.io/olmtest/busybox-dependency-bundle:2.0.0,quay.io/olmtest/busybox-bundle:2.0.0 --tag quay.io/olmtest/busybox-dependencies-index:2.0.0-with-ListBundles-method --from-index quay.io/olmtest/busybox-dependencies-index:1.0.0-with-ListBundles-method -c docker
docker push quay.io/olmtest/busybox-dependencies-index:2.0.0-with-ListBundles-method