添加 ssl 插件
This commit is contained in:
12
plugins/letsencrypt/.github/dependabot.yaml
vendored
Normal file
12
plugins/letsencrypt/.github/dependabot.yaml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
52
plugins/letsencrypt/.github/workflows/bump-version.yaml
vendored
Normal file
52
plugins/letsencrypt/.github/workflows/bump-version.yaml
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
name: "bump-version"
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
bump_type:
|
||||
description: "Bump type"
|
||||
default: "patch"
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- patch
|
||||
- minor
|
||||
- major
|
||||
|
||||
env:
|
||||
GITHUB_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||
|
||||
jobs:
|
||||
bump-version:
|
||||
name: bump-version
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ env.GITHUB_ACCESS_TOKEN }}
|
||||
|
||||
- name: Get Latest Tag
|
||||
id: latest-tag
|
||||
run: |
|
||||
echo GIT_LATEST_TAG="$(git describe --tags "$(git rev-list --tags --max-count=1)")" >>"$GITHUB_OUTPUT"
|
||||
|
||||
- name: Compute Next Tag
|
||||
id: next-tag
|
||||
uses: docker://ghcr.io/dokku/semver-generator:latest
|
||||
with:
|
||||
bump: ${{ github.event.inputs.bump_type }}
|
||||
input: ${{ steps.latest-tag.outputs.GIT_LATEST_TAG }}
|
||||
|
||||
- name: Create and Push Tag
|
||||
run: |
|
||||
git config --global user.name 'Dokku Bot'
|
||||
git config --global user.email no-reply@dokku.com
|
||||
git tag "$GIT_NEXT_TAG"
|
||||
git push origin "$GIT_NEXT_TAG"
|
||||
env:
|
||||
GIT_NEXT_TAG: ${{ steps.next-tag.outputs.version }}
|
||||
20
plugins/letsencrypt/.github/workflows/tagged-release.yaml
vendored
Normal file
20
plugins/letsencrypt/.github/workflows/tagged-release.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "tagged-release"
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
tagged-release:
|
||||
name: tagged-release
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2.2.1
|
||||
with:
|
||||
generate_release_notes: true
|
||||
make_latest: "true"
|
||||
Reference in New Issue
Block a user