Skip to content

Commit aadb46d

Browse files
committed
Opm verification (#2089)
1 parent 487149a commit aadb46d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/operatorhub.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ jobs:
6060

6161
- name: Install opm
6262
run: |
63-
curl -sL https://github.com/operator-framework/operator-registry/releases/download/v1.65.0/linux-amd64-opm -o /usr/local/bin/opm
64-
chmod +x /usr/local/bin/opm
63+
OPM_VERSION=v1.65.0
64+
curl -fsSLO https://github.com/operator-framework/operator-registry/releases/download/${OPM_VERSION}/linux-amd64-opm
65+
curl -fsSLO https://github.com/operator-framework/operator-registry/releases/download/${OPM_VERSION}/checksums.txt
66+
grep ' linux-amd64-opm$' checksums.txt | sha256sum -c -
67+
install -m 0755 linux-amd64-opm /usr/local/bin/opm
6568
6669
- name: Add operatorhub bundle
6770
id: update

0 commit comments

Comments
 (0)