Skip to content

Self updater

Self updater #21

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