Skip to content

Commit

Permalink
fix/build: trigger release when pre-release is changed to release (pa…
Browse files Browse the repository at this point in the history
…rt un-et-demi)

Still not working properly.

~ Tried fixing the conditions within the build step
+ added ability to trigger workflow manually for now...
  • Loading branch information
fetzu committed Aug 10, 2024
1 parent 0c01971 commit 465e4cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
types:
- 'released'
- 'edited'
workflow_dispatch:

jobs:
push_to_registries:
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
type=semver,pattern={{version}}
- name: Build and push Docker images for releases
if: github.event_name == 'release'
if: github.event.action == 'released' || github.event.action == 'edited'
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
Expand Down

0 comments on commit 465e4cf

Please sign in to comment.