File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 11name : Docker Image Builder
22
33on :
4- workflow_dispatch :
5- schedule :
6- # Run once a week on Fridays
7- - cron : " 0 0 * * FRI"
8- pull_request :
9- paths :
10- - " .github/workflows/docker-images.yml"
114 push :
12- branches :
13- - main
14- paths :
15- - " .github/workflows/docker-images.yml"
5+ # workflow_dispatch:
6+ # schedule:
7+ # # Run once a week on Fridays
8+ # - cron: "0 0 * * FRI"
9+ # pull_request:
10+ # paths:
11+ # - ".github/workflows/docker-images.yml"
12+ # push:
13+ # branches:
14+ # - main
15+ # paths:
16+ # - ".github/workflows/docker-images.yml"
1617
1718jobs :
1819 build :
6263 registry : ghcr.io
6364 username : ${{ github.actor }}
6465 password : ${{ secrets.GITHUB_TOKEN }}
65- if : (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main '
66+ if : (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/docker '
6667 - name : Build docker image
6768 uses : docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6.17.0
6869 id : docker-build
7273 tags : ghcr.io/${{ github.repository_owner }}/${{ matrix.IMAGE.TAG_NAME }}
7374 platforms : ${{ matrix.IMAGE.DOCKER_PLATFORM }}
7475 pull : true
75- push : ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main ' }}
76+ push : ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/docker ' }}
7677 - name : Attese
7778 uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
7879 with :
You can’t perform that action at this time.
0 commit comments