Skip to content

Commit

Permalink
Move tagged release job to it's own yaml file. (#980)
Browse files Browse the repository at this point in the history
Immediately discovered that you can't have two job sets in the same yaml
file... apparently I've been doing too much kubernetes work where
multiple yaml blocks are rather common.
  • Loading branch information
MikeNeilson authored Dec 13, 2024
1 parent 631ac79 commit 420bebb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,3 @@ jobs:
if: ${{ always() }}
run: |
docker logout ${{ steps.login-ghcr.outputs.registry }}
---
name: Tagged Release
on:
push:
tags:
- '[0-9][0-9][0-9][0-9].[09][0-9].[0-9]'
- '[0-9][0-9][0-9][0-9].[09][0-9].[0-9]-*+'
jobs:
release:
uses: ./.github/workflows/release.yml
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ secrets.HEC_PUB_REGISTRY}}
registry_user: ${{ secrets.ALT_REG_USER }}
registry_password: ${{ secrets.ALT_REG_PASSWORD }}
with:
branch: ${{github.ref_name}}
nightly: false
18 changes: 18 additions & 0 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Tagged Release
on:
push:
tags:
- '[0-9][0-9][0-9][0-9].[09][0-9].[0-9]'
- '[0-9][0-9][0-9][0-9].[09][0-9].[0-9]-*+'
jobs:
release:
uses: ./.github/workflows/release.yml
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ secrets.HEC_PUB_REGISTRY}}
registry_user: ${{ secrets.ALT_REG_USER }}
registry_password: ${{ secrets.ALT_REG_PASSWORD }}
with:
branch: ${{github.ref_name}}
nightly: false

0 comments on commit 420bebb

Please sign in to comment.