Skip to content

Commit

Permalink
Merge pull request #304 from axoflow/image-rebuild
Browse files Browse the repository at this point in the history
ci: add AxoSyslog stable image workflow
  • Loading branch information
OverOrion authored Sep 24, 2024
2 parents a8390e6 + 9941ef8 commit e5d40ca
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 e5d40ca

Please sign in to comment.