From bda04324db11894404dd5704ade19a389abbe2c5 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Tue, 29 Oct 2019 01:02:39 +0100 Subject: [PATCH] Add bump github action --- .github/workflows/bump.yml | 15 +++++++++++++++ Dockerfile | 8 +++++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/bump.yml diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml new file mode 100644 index 0000000..fd11f80 --- /dev/null +++ b/.github/workflows/bump.yml @@ -0,0 +1,15 @@ +name: 'Automatic version updates' +on: + schedule: + # minute hour dom month dow (UTC) + - cron: '0 10 * * *' +jobs: + version_update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: wader/bump@master + with: + bump_files: Dockerfile + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 804877b..db58cf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ -ARG GO_VERSION=1.13 -ARG YDL_VERSION=2019.09.12.1 +# bump: golang /GOLANG_VERSION=([\d.]+)/ docker:golang|^1 +ARG GOLANG_VERSION=1.13.3 +# bump: youtube-dl /YDL_VERSION=([\d.]+)/ https://github.com/ytdl-org/youtube-dl.git|/^\d/|sort +ARG YDL_VERSION=2019.10.29 -FROM golang:$GO_VERSION +FROM golang:$GOLANG_VERSION ARG YDL_VERSION RUN \