Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Pipeline: Add an option to tag the container image as stable … #783

Merged
merged 1 commit into from
Feb 2, 2024
Merged
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
18 changes: 18 additions & 0 deletions .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
description: |
The tag version we want to release without prefix (e.g. 2.0.0)
required: true
stable:
type: boolean
description: |
Is this a stable release? If so we are going to tag also a stable container image to be used in the Kaoto Operator
required: false
default: false

jobs:
tag-and-release:
Expand Down Expand Up @@ -115,3 +121,15 @@ jobs:
shell: bash
run: |
docker push quay.io/kaotoio/kaoto-app:${{ github.event.inputs.tag_version }}

- name: "🔧 Build Container Image"
shell: bash
run: |
docker build -t "quay.io/kaotoio/kaoto-app:stable" .
if: ${{ github.event.inputs.stable }}

- name: "📤 Upload Container Image"
shell: bash
run: |
docker push quay.io/kaotoio/kaoto-app:stable
if: ${{ github.event.inputs.stable }}
Loading