Self updater #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Self updater | |
on: | |
schedule: | |
- cron: '42 6 15 */2 *' | |
workflow_dispatch: | |
jobs: | |
update-Dockerfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- run: go run . docker pin | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Bump the digest of the Dockerfile | |
title: Update Dockerfile pins to latest version of tags | |
body: I ran dockpin docker pin to update the digests to the latest version. | |
branch: automatic-dockpin-docker-pin | |
delete-branch: true |