Update .github/workflows/.github-ci.yaml
This commit is contained in:
parent
880b5b4e13
commit
23384c5e75
1 changed files with 10 additions and 2 deletions
12
.github/workflows/.github-ci.yaml
vendored
12
.github/workflows/.github-ci.yaml
vendored
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue