diff --git a/.github/workflows/build_pkg.yml b/.github/workflows/build_pkg.yml index dfe3c45..f3b2d60 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -51,6 +51,9 @@ jobs: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} path: input + - name: Exit if not triggered by tag + if: startsWith(github.ref, 'refs/tags/') == false + run: exit -1 - name: pull build container run: podman pull "${{ inputs.build_container }}:amd64" - name: fetch dependencies diff --git a/container/bin/build_source b/container/bin/build_source index 9e6bafa..9d43447 100755 --- a/container/bin/build_source +++ b/container/bin/build_source @@ -17,7 +17,7 @@ main() ( # Init some variables name="$(yq -r '.name' < "$inputs_file")" source="$(yq -r --arg name "$name" '.jobs[$name].with.source // "'$name'"' < "$inputs_file")" - debian_source="$(yq -r --arg name "$name" '.jobs[$name].with.debian_src // "'$debian_source'"' < "$inputs_file")" + debian_source="$(yq -r --arg name "$name" '.jobs[$name].with.debian_source // "'$debian_source'"' < "$inputs_file")" build_options="terse $(yq -r --arg name "$name" '.jobs[$name].with.build_options // ""' < "$inputs_file")" # Define Build Options