Skip to content

Commit

Permalink
ci: release flag
Browse files Browse the repository at this point in the history
  • Loading branch information
untoreh committed Jul 28, 2023
1 parent 7146f0f commit 08e8e8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
description: 'Rebuild images from scratch (values `scratch-build` or `scratch-ovz`)'
required: false
default: ""
is_release:
description: 'True for pushing images'
required: false
default: ""
push:
branches:
- develop
Expand Down Expand Up @@ -49,8 +53,9 @@ jobs:
- run: docker exec pinect ./make_update.sh
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: ${{ inputs.release_tag != "" }}
with:
tag_name: ${{ inputs.release_tag }}
files: |
image.pine.tgz
rootfs.pine_ovz.sq
Expand Down

0 comments on commit 08e8e8b

Please sign in to comment.