Skip to content

Commit

Permalink
ci: add AxoSyslog stable image workflow
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Sep 24, 2024
1 parent ab7b626 commit 47f1757
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/axosyslog-image-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: AxoSyslog stable image

permissions: write-all

on:
workflow_dispatch:

jobs:
pre-check:
runs-on: ubuntu-latest
if: github.repository_owner == 'axoflow'
steps:
- name: Validate tag
run: |
if [[ ! "${{ github.ref }}" =~ ^refs/tags/axosyslog-[0-9]+ ]]; then
echo "Please start the workflow on a 'axosyslog-[0-9]+*' tag"
false
fi
publish-image:
uses: ./.github/workflows/axosyslog-docker.yml
needs: pre-check
with:
type: stable

0 comments on commit 47f1757

Please sign in to comment.