Skip to content

Merge pull request #62 from 3scale-ops/catalog/v0.8.2 #1

Merge pull request #62 from 3scale-ops/catalog/v0.8.2

Merge pull request #62 from 3scale-ops/catalog/v0.8.2 #1

name: release-catalog
on:
push:
branches:
- main
paths:
- catalog/**/stable-channel.yaml
jobs:
check:
name: Check if it's a stable release
runs-on: ubuntu-24.04
outputs:
stable-release: ${{ env.NEW_RELEASE }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
key: ${{ runner.os }}-bin
path: ./bin
- id: new-release
name: Check if it's a stable release
run: |
echo "NEW_RELEASE=$(make get-new-release)" >> $GITHUB_ENV
build:
if: needs.check.outputs.stable-release != ''
name: Build and push the catalog release image
needs: check
runs-on: ubuntu-24.04
env:
RELEASE: ${{ needs.check.outputs.stable-release }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
key: ${{ runner.os }}-bin
path: ./bin
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to quay.io/3scale
uses: docker/login-action@v3
with:
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: quay.io
username: ${{ secrets.REGISTRY_USER }}
- name: Build and push bundle container image
run: make catalog-push