mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2025-02-23 03:18:51 +07:00
Build
This commit is contained in:
parent
a457d55a9b
commit
311b7e1692
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
@ -2,7 +2,8 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '.gitignore'
|
||||
@ -35,23 +36,6 @@ jobs:
|
||||
--tag "${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" \
|
||||
--tag "ghcr.io/${{ github.repository }}:latest" \
|
||||
--tag "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||
-
|
||||
name: Update Minor version
|
||||
uses: hmanzur/actions-set-secret@v2.0.0
|
||||
with:
|
||||
name: 'MINOR'
|
||||
value: $((${{ secrets.MINOR }}+1))
|
||||
repository: ${{ github.repository }}
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
-
|
||||
name: Create tag
|
||||
uses: rickstaa/action-create-tag@v1
|
||||
id: "tag_create"
|
||||
if: ${{ false }}
|
||||
with:
|
||||
tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||
tag_exists_error: false
|
||||
message: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
@ -75,6 +59,20 @@ jobs:
|
||||
run: |
|
||||
docker push "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" && \
|
||||
docker push "ghcr.io/${{ github.repository }}:latest"
|
||||
|
||||
bump:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Update Minor version
|
||||
uses: hmanzur/actions-set-secret@v2.0.0
|
||||
with:
|
||||
name: 'MINOR'
|
||||
value: $((${{ secrets.MINOR }}+1))
|
||||
repository: ${{ github.repository }}
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
|
||||
mirror:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
Loading…
Reference in New Issue
Block a user