Skip to content

Commit 9c5eaea

Browse files
committed
update
1 parent 1f97a1c commit 9c5eaea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
registry: ghcr.io
7272
username: ${{ github.actor }}
7373
password: ${{ secrets.GITHUB_TOKEN }}
74-
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master'
74+
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/docker'
7575
- name: Build docker image
7676
uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6.17.0
7777
id: docker-build
@@ -81,11 +81,11 @@ jobs:
8181
tags: ghcr.io/${{ github.repository_owner }}/${{ matrix.IMAGE.TAG_NAME }}
8282
platforms: ${{ matrix.IMAGE.DOCKER_PLATFORM }}
8383
pull: true
84-
push: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master' }}
84+
push: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/docker' }}
8585
- name: Attese
8686
uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
8787
with:
8888
subject-name: "ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}"
8989
subject-digest: ${{ steps.docker-build.outputs.digest }}
9090
push-to-registry: true
91-
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master'
91+
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/docker'

0 commit comments

Comments
 (0)