WIP: Mapt Konflux Compliant #1293
Workflow file for this run
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: tkn-bundle | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- '*' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tkn-check: | |
name: tkn-check | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@v1 | |
# https://docs.openshift.com/pipelines/1.15/about/op-release-notes.html | |
- name: Deploy min supported tekton version | |
run: kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.44.5/release.yaml | |
- name: Deploy tasks | |
run: kubectl apply -f tkn | |
tkn-build: | |
if: ${{ github.event_name != 'pull_request' }} | |
name: tkn-build | |
needs: tkn-check | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Log in to quay.io Registry | |
uses: redhat-actions/podman-login@v1 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_IO_USERNAME }} | |
password: ${{ secrets.QUAY_IO_PASSWORD }} | |
- name: Push tasks | |
shell: bash | |
run: make tkn-push | |