Skip to content

Commit

Permalink
Merge pull request #67 from 3scale-ops/clean/remove-stable-check-from…
Browse files Browse the repository at this point in the history
…-catalog-workflow

clean: removes the stable check from the catalog workflow
  • Loading branch information
3scale-robot authored Nov 22, 2024
2 parents b6f07e3 + 39497d3 commit b3c609c
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/release-catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,10 @@ on:
- 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/checkout@v4.2.2

- uses: actions/cache@v4.1.2
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 != ''
catalog:
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/checkout@v4.2.2
Expand Down

0 comments on commit b3c609c

Please sign in to comment.