Skip to content

Commit

Permalink
feat(ci): add release trigger to Docker workflow
Browse files Browse the repository at this point in the history
- Change trigger from `push` to `release` with `released` event type to only run on published releases
  • Loading branch information
rtuszik committed Aug 29, 2024
1 parent 111e607 commit 09aaa70
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: Docker Build and Push

on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/**
- Dockerfile
release:
types:
- released

env:
REGISTRY: ghcr.io
Expand Down

0 comments on commit 09aaa70

Please sign in to comment.