Update .github/workflows/.github-ci.yaml

This commit is contained in:
richardrobertreitz 2025-02-07 19:26:20 +00:00
parent 880b5b4e13
commit 23384c5e75

View file

@ -1,7 +1,13 @@
name: ci name: ci
on: on:
push: # Start workflow on every push
#push:
# Start workflow on pull requests on specific branches
pull_request:
branches:
- main
- development
jobs: jobs:
docker: docker:
@ -35,5 +41,7 @@ jobs:
${{ steps.repository.outputs.registry }}=${{ github.repository }}:${{ secrets.PACKAGES_TOKEN }} ${{ steps.repository.outputs.registry }}=${{ github.repository }}:${{ secrets.PACKAGES_TOKEN }}
destinations: | destinations: |
${{ steps.docker.outputs.tags }} ${{ steps.docker.outputs.tags }}
# push: ${{ github.event_name != 'pull_request' }} # Fine grained control of pushing based on event name
#push: ${{ github.event_name != 'pull_request' }}
# Always push
push: 'true' push: 'true'