Skip to content

chore(deps): update alpine docker tag to v3.20.3 #113

chore(deps): update alpine docker tag to v3.20.3

chore(deps): update alpine docker tag to v3.20.3 #113

Workflow file for this run

name: update README.md
on:
pull_request:
types: [closed]
jobs:
readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- name: Update datasource in Dockerfile
run: |
sed \
--regexp-extended \
--quiet \
's/.*alpine:([0-9]).([0-9]+).*/\1 \2/p' Dockerfile | \
xargs \
--max-args=2 \
bash \
-c \
'sed \
--in-place \
--regexp-extended \
"s/alpine_[0-9]_[0-9]+/alpine_${0}_${1}/" Dockerfile'
- name: Update component versions in README.md
run: |
sed \
--regexp-extended \
--quiet \
's/(ARG|ENV)\s*(.*)_VERSION(=|\s*)(.*)/\L\2 (\4)/p' Dockerfile | \
xargs \
--max-args=2 \
bash \
-c \
'sed \
--in-place \
--regexp-extended \
"s/${0}.*$/${0} ${1}/" README.md'
- name: Update alpine version in README.md
run: |
sed \
--regexp-extended \
--quiet \
's/FROM\s+alpine:(.*)/(\1)/p' Dockerfile | \
xargs \
bash \
-c \
'sed \
--in-place \
--regexp-extended \
"s/linux (.*) with/linux ${0} with/" README.md'
- name: Push updated README.md
uses: EndBug/add-and-commit@v9
with:
message: "README: update version"
default_author: github_actions