Automatic releases
Automatic releases
This commit is contained in:
commit
66fea625de
2 changed files with 8 additions and 6 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -60,19 +60,22 @@ 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: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||||
title: Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}
|
title: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||||
|
body: "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
|
||||||
|
|
|
||||||
|
|
@ -28,4 +28,3 @@ fi
|
||||||
FILE="$STORAGE/boot.img"
|
FILE="$STORAGE/boot.img"
|
||||||
|
|
||||||
mv -f "$TMP" "$FILE"
|
mv -f "$TMP" "$FILE"
|
||||||
#trigger
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue