Skip to content

Commit

Permalink
ci(.github/workflows/wsl-docker.yml): run workflow on itself updated
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Nov 8, 2024
1 parent 34252e1 commit d003756
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/wsl-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ on:
schedule:
# update once a week
- cron: "0 0 * * SUN"
push:
branches:
- main
paths:
- .github/workflows/wsl-docker.yml
pull_request:
branches:
- main
paths:
- .github/workflows/wsl-docker.yml
workflow_dispatch:

permissions: {}
Expand Down Expand Up @@ -82,7 +92,7 @@ jobs:
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
context: .
push: true
push: ${{ github.event_name != 'pull_request' }}
# avoid image without manifest created
# ref: https://github.com/docker/build-push-action/issues/900
provenance: false
Expand Down

0 comments on commit d003756

Please sign in to comment.