Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ jobs:
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
make release COMPRESS=yes

- name: Publish to Red Hat Ecosystem Catalog
env:
REGISTRY: ghcr.io/appscode
PFLT_PYXIS_API_TOKEN: ${{ secrets.PFLT_PYXIS_API_TOKEN }}
run: |
curl -fsSL -o preflight https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/latest/download/preflight-linux-amd64
chmod +x preflight
sudo mv preflight /usr/local/bin/preflight
make docker-certify-redhat

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -417,3 +417,9 @@ deploy-to-kind: push-to-kind install

.PHONY: deploy
deploy: uninstall push install

.PHONY: docker-certify-redhat
docker-certify-redhat:
@preflight check container $(IMAGE):$(VERSION_UBI) \
--submit \
--certification-component-id=695bac12274e2ac1e9d40762
Loading