Skip to content

Commit

Permalink
linux-build: fix path to build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
NavidSassan committed Nov 30, 2023
1 parent 5949e64 commit 65e9b5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/build/debian10,destination=/build,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
docker.io/library/debian:buster /bin/bash -x /repos/monitoring-plugins-latest/build/debian10/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
docker.io/library/debian:buster /bin/bash -x /repos/monitoring-plugins/build/debian10/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
build-debian11:
Expand All @@ -94,7 +94,7 @@ jobs:
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/build/debian11,destination=/build,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
docker.io/library/debian:bullseye /bin/bash -x /repos/monitoring-plugins-latest/build/debian11/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
docker.io/library/debian:bullseye /bin/bash -x /repos/monitoring-plugins/build/debian11/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
build-debian12:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/build/rhel7,destination=/build,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
registry.access.redhat.com/ubi7/ubi /bin/bash -x /repos/monitoring-plugins-latest/build/rhel7/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
registry.access.redhat.com/ubi7/ubi /bin/bash -x /repos/monitoring-plugins/build/rhel7/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
build-rhel8:
Expand All @@ -155,7 +155,7 @@ jobs:
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/build/rhel8,destination=/build,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
registry.access.redhat.com/ubi8/ubi /bin/bash -x /repos/monitoring-plugins-latest/build/rhel8/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
registry.access.redhat.com/ubi8/ubi /bin/bash -x /repos/monitoring-plugins/build/rhel8/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
build-rhel9:
Expand All @@ -175,7 +175,7 @@ jobs:
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/build/rhel9,destination=/build,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
registry.access.redhat.com/ubi9/ubi /bin/bash -x /repos/monitoring-plugins-latest/build/rhel9/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
registry.access.redhat.com/ubi9/ubi /bin/bash -x /repos/monitoring-plugins/build/rhel9/build.sh ${{ inputs.package-version || github.ref_name }} ${{ inputs.package-iteration || '1' }}
# this would not work on the GitHub-hosted runners, as each job is isolated there,
Expand Down

0 comments on commit 65e9b5f

Please sign in to comment.