Skip to content

Commit 95f9637

Browse files
Maxusmustiopenshift-merge-robot
authored andcommitted
Add core/bundle building
1 parent 5e52786 commit 95f9637

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: .github/workflows/image.yml

+11
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515

16+
- name: Install operator-sdk
17+
run: |
18+
export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)
19+
export OS=$(uname | awk '{print tolower($0)}')
20+
export OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/v1.27.0
21+
curl -LO ${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}
22+
chmod +x operator-sdk_${OS}_${ARCH} && sudo mv operator-sdk_${OS}_${ARCH} /usr/local/bin/operator-sdk
23+
24+
1625
- name: Grab New Version Tag
1726
id: tag_name
1827
run: |
@@ -34,6 +43,8 @@ jobs:
3443

3544
- name: Image Build
3645
run: |
46+
make build
47+
make bundle
3748
make image-build -e IMG=quay.io/project-codeflare/codeflare-operator:${SOURCE_TAG}
3849
podman tag quay.io/project-codeflare/codeflare-operator:${SOURCE_TAG} quay.io/project-codeflare/codeflare-operator:latest
3950
make bundle-build -e BUNDLE_IMG=quay.io/project-codeflare/codeflare-operator-bundle:${SOURCE_TAG}

0 commit comments

Comments
 (0)