Skip to content

Instantly share code, notes, and snippets.

@gautamkrishnar
Created April 12, 2022 15:27
Embed
What would you like to do?
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