Automatic release
This commit is contained in:
parent
8c33934ec6
commit
f4aa02f250
1 changed files with 7 additions and 5 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -60,19 +60,21 @@ jobs:
|
||||||
docker push "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" && \
|
docker push "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" && \
|
||||||
docker push "ghcr.io/${{ github.repository }}:latest"
|
docker push "ghcr.io/${{ github.repository }}:latest"
|
||||||
|
|
||||||
bump:
|
release:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
name: Create a Release
|
name: Create a release
|
||||||
uses: elgohr/Github-Release-Action@v4
|
uses: kroese/github-release@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: "${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
tag: "${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||||
title: Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}
|
title: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||||
-
|
-
|
||||||
name: Update minor version
|
name: Update minor version
|
||||||
uses: hmanzur/actions-set-secret@v2.0.0
|
uses: hmanzur/actions-set-secret@v2.0.0
|
||||||
|
|
Loading…
Reference in a new issue