Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Update Docker-Publish workflow trigger
Browse files Browse the repository at this point in the history
Changed the docker-publish.yml file trigger from 'release' to 'push'. This allows the workflow to be triggered upon pushing new tags rather than only when a release is published. Also, the tag format trigger has been simplified from 'v[0-9]+.[0-9]+.[0-9]+' to 'v*' to accommodate a wider range of tag formats.
  • Loading branch information
AlexGodbehere committed Sep 28, 2023
1 parent c56b1fb commit fedd8f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ env:
REGISTRY: ghcr.io

on:
release:
types: [ published ]
# Trigger only when a release with tag v*.*.* is published
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v*'

jobs:
build:
Expand Down

0 comments on commit fedd8f0

Please sign in to comment.