Skip to content

Commit

Permalink
fix(ci/cd): fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
NavidSassan committed Jan 17, 2025
1 parent 5fbdbaa commit bb8bb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lf-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ jobs:
run: 'mkdir ${{ env.BASE_DIR }}/build/${{ matrix.distros.directory }}'

- name: 'Build the container for ${{ matrix.distros.name }}'
run: 'podman build --file "build/${{ matrix.distro.directory }}/Containerfile" --tag "lfmp-build-{{ matrix.distro.directory }}"'
run: 'podman build --file "build/${{ matrix.distros.directory }}/Containerfile" --tag "lfmp-build-${{ matrix.distros.directory }}"'

- name: 'Build the packages for ${{ matrix.distros.name }}'
run: >
podman run --rm
--mount type=bind,source=${{ env.BASE_DIR }}/build/${{ matrix.distros.directory }},destination=/build,relabel=private
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true
"lfmp-build-{{ matrix.distro.directory }}"
"lfmp-build-${{ matrix.distros.directory }}"
/bin/bash -x
/repos/monitoring-plugins/build/${{ matrix.distros.directory }}/build.sh
${{ inputs.package-version || github.ref_name }}
Expand Down

0 comments on commit bb8bb33

Please sign in to comment.