This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Image | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
publish-image: | |
name: Publish Image | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build image | |
run: | | |
# Commands to build image | |
- name: Log into Container Registry | |
run: | | |
# Commands to log into registry | |
- name: Push image to GitHub Container Registry | |
run: | | |
# Commands to push to registry | |
- name: Submit image to Red Hat Ecosystem Catalog | |
using: redhat-openshift-ecosystem/setup-preflight@v1 | |
with: | |
API_TOKEN: ${{ secrets.CONNECT_API_KEY }} | |
CONTAINER: example.com/registry/repoistory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment