File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - cron : " 30 1 * * 0"
77 push :
88 branches :
9- - ' master'
9+ - ' **'
10+ workflow_dispatch :
1011 release :
1112 types : [published]
1213
6061 latest=${{ startsWith(github.ref, 'refs/tags/') }}
6162 tags : |
6263 type=schedule,pattern=nightly
63- type=raw,value=nightly,enable=${{ github.event_name == 'push' }}
64+ type=raw,value=nightly,enable=${{ github.ref == 'refs/heads/master' }}
65+ type=ref,event=branch,enable=${{ github.ref != 'refs/heads/master' }}
6466 type=ref,event=tag
6567
6668 - &login-dockerhub
Original file line number Diff line number Diff line change @@ -15,8 +15,11 @@ All images are pushed to both Docker Hub (`pihole/ftl-build`) and GHCR (`ghcr.io
1515
1616## How does it get uploaded?
1717
18- - GitHub Actions (` ftl-build.yml ` ):
19- - Every ` pull_request ` event triggers a build (but does not push)
20- - Every ` workflow_dispatch ` event triggers a build of the branch it is run against, and uploads a branch-based tag
21- - Every ` tag ` event (e.g ` v1 ` ) triggers a build and uploads both ` ${{matrix.ARCH}} ` and ` v1-${{matrix.ARCH}} ` tags
22- - Schedule: 1:30am UTC every Sunday a build is triggered and a ` ${{matrix.ARCH}} ` tag is uploaded
18+ - GitHub Actions:
19+ - ` ftl-build-test.yml ` : every ` pull_request ` event triggers a build (but does not push)
20+ - ` ftl-build-publish.yml ` :
21+ - Every branch ` push ` publishes the branch name as a tag (except ` master ` )
22+ - Every ` workflow_dispatch ` publishes the branch name as a tag (except ` master ` )
23+ - Every push to ` master ` publishes the ` nightly ` tag
24+ - Schedule: 1:30am UTC every Sunday a build is triggered and the ` nightly ` tag is published
25+ - Every published GitHub ` release ` publishes the release tag
You can’t perform that action at this time.
0 commit comments