Zenika / alpine-chrome

Chrome Headless docker images built upon alpine official image
https://hub.docker.com/r/zenika/alpine-chrome
Apache License 2.0
1.78k stars 239 forks source link

Automatically build new images once a week #224

Closed SvenKirschbaum closed 1 year ago

SvenKirschbaum commented 1 year ago

The generation of new images currently depends on changes being pushed to the master branch, causing many chromium versions to not be available as image variants during periods of no activity.

This PR adds a scheduled trigger to the already existing build workflow, causing new images to be generated once a week. I furthermore included a _workflowdispatch trigger, allowing maintainers to trigger a new build from the github action console, without code modifications, if desired.

The removal of the github.event_name == 'push' check in the workflow doesn't change the existing behavior, as the ref for pull request events has the format refs/pull/:prNumber/merge

pauldraper commented 1 year ago

@zigarn ?

pauldraper commented 1 year ago

🙌