Skip to content

Commit

Permalink
Use name from github.workflow veriable and bind mount on /usr/local/s…
Browse files Browse the repository at this point in the history
…bin instead.
  • Loading branch information
alee-ntap committed Nov 9, 2023
1 parent f6f5b83 commit bd500a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
type: string
source_name:
type: string
default: "${{ github.event.repository.name }}"
default: "${{ github.workflow }}"
debian_source:
type: string
default: ""
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
-e SOURCE_VERSION='${{ env.INPUT_SOURCE_VERSION }}' \
-e VERSION_SUFFIX='${{ env.INPUT_VERSION_SUFFIX }}' \
--rm \
--mount="type=bind,src=$PWD/${GITHUB_ACTION_PATH}/container/bin,dst=/usr/local/bin,ro" \
--mount="type=bind,src=$PWD/${GITHUB_ACTION_PATH}/container/bin,dst=/usr/local/sbin,ro" \
-v "$PWD/input:/input" \
-v "$PWD/output:/output" \
-v "$PWD/_pkgs:/pkgs" \
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
-e MESSAGE='${{ env.INPUT_MESSAGE }}' \
-e BUILD_OPTIONS='${{ env.INPUT_BUILD_OPTIONS }}' \
--rm \
--mount="type=bind,src=$PWD/${GITHUB_ACTION_PATH}/,dst=/usr/local/bin,ro" \
--mount="type=bind,src=$PWD/${GITHUB_ACTION_PATH}/,dst=/usr/local/sbin,ro" \
-v "$PWD/input:/input" \
-v "$PWD/output:/output" \
-v "$PWD/_pkgs:/pkgs" \
Expand Down

0 comments on commit bd500a8

Please sign in to comment.