diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9bd0170 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8ae412..8985795 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,11 @@ name: CI on: push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] + branches: + - main jobs: lint-readme: diff --git a/.github/workflows/release-tst.yml b/.github/workflows/release-tst.yml index 0633135..3707878 100644 --- a/.github/workflows/release-tst.yml +++ b/.github/workflows/release-tst.yml @@ -1,12 +1,16 @@ name: Release test -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the main branch +permissions: + contents: write + issues: write + on: push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] + branches: + - main jobs: # Only for testing of the release environment. @@ -20,7 +24,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1103760..c5b8745 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,8 @@ name: Release version +permissions: + contents: write + issues: write on: push: @@ -7,6 +10,7 @@ on: - main schedule: - cron: '0 3 * * 0' + workflow_dispatch: jobs: release: @@ -21,7 +25,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator diff --git a/Dockerfile b/Dockerfile index 641e7dd..aa3ba56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM alpine:3 +FROM alpine:3.20 + LABEL org.opencontainers.image.authors="Martin Kock " \ org.opencontainers.image.url="https://github.com/deeagle/xmllint-container" \ org.opencontainers.image.title="XML/DTD tools." \ diff --git a/README.md b/README.md index 9460eee..762296a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ![Build status](https://github.com/deeagle/xmllint-container/workflows/CI/badge.svg) ![Build status](https://github.com/deeagle/xmllint-container/workflows/Release%20version/badge.svg) -[![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg) [![Alpine](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white) [![Docker](https://badgen.net/badge/icon/docker?icon=docker&label)](https://hub.docker.com/r/docdee/xmllint)