Skip to content

Commit

Permalink
distribute bundle (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen authored Jan 26, 2021
1 parent cf2d49f commit 53fdcb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
env:
KUBE_BUILDER_VERSION: "2.3.1"
OPERATOR_SDK_VERSION: "v1.3.0"
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -99,6 +100,12 @@ jobs:
with:
fetch-depth: 0

- name: bundle
run: |
sudo curl -Lo /usr/local/bin/operator-sdk https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64
sudo chmod a+x /usr/local/bin/operator-sdk
make bundle bundle-build
- name: Login to Quay
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')
uses: azure/docker-login@v1
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ docker-push:
docker pull ${GHCR_IMG}
docker tag ${GHCR_IMG} ${IMG}
docker push ${IMG}
docker push $(BUNDLE_IMG)

docker-push-ghcr:
docker tag ${IMG} ${GHCR_IMG}
Expand Down

0 comments on commit 53fdcb9

Please sign in to comment.