Skip to content

build(deps): update plugin docker to v9.4.0 #11

build(deps): update plugin docker to v9.4.0

build(deps): update plugin docker to v9.4.0 #11

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths-ignore:
- CHANGELOG.md
- README.md
- CONTRIBUTING.md
- LICENSE
- renovate.json
- ".github/workflows/**"
- .releaserc.yml
- checkstyle.xml
- pmd.xml
- "package*.json"
- codecov.yml
workflow_dispatch:
jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
secrets: inherit
release:
name: Release on GitHub
runs-on: ubuntu-22.04
env:
TERM: dumb
permissions:
contents: write
issues: write
pull-requests: write
needs:
- test
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup java environment
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Import GPG key for signing commits and release on Maven Central
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.PGP_SECRET }}
passphrase: ${{ secrets.PGP_PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Login to Docker Hub
uses: docker/login-action@v3.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm install
- name: Publish on GitHub
id: publish
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}
GIT_AUTHOR_NAME: ${{ steps.import-gpg.outputs.name }}
GIT_AUTHOR_EMAIL: ${{ steps.import-gpg.outputs.email }}
GIT_COMMITTER_NAME: ${{ steps.import-gpg.outputs.name }}
GIT_COMMITTER_EMAIL: ${{ steps.import-gpg.outputs.email }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Generate javadoc
run: ./gradlew javadoc
- name: Publish javadoc on GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/docs/javadoc