diff --git a/.github/workflows/ci-deb-packages-v2.yml b/.github/workflows/ci-deb-packages-v2.yml index 1cab8282..ef84f4f9 100644 --- a/.github/workflows/ci-deb-packages-v2.yml +++ b/.github/workflows/ci-deb-packages-v2.yml @@ -192,8 +192,18 @@ jobs: - name: Build debs in Docker shell: sh + env: + GENERIC_TOKEN: ${{ secrets.GENERIC_TOKEN }} run: | - docker run --platform linux/${{ inputs.PLATFORM }} --rm --entrypoint="/usr/local/bin/run.sh" -w /root -v $(pwd):/root -v /tmp/${GITHUB_RUN_ID}/run.sh:/usr/local/bin/run.sh ${{ inputs.BASE_IMAGE }}:${{ inputs.DISTRO_CODENAME }} + docker run \ + --platform linux/${{ inputs.PLATFORM }} \ + --rm \ + --entrypoint="/usr/local/bin/run.sh" \ + -w /root \ + -v $(pwd):/root \ + -v /tmp/${GITHUB_RUN_ID}/run.sh:/usr/local/bin/run.sh:ro \ + -e GENERIC_TOKEN="${GENERIC_TOKEN}" \ + ${{ inputs.BASE_IMAGE }}:${{ inputs.DISTRO_CODENAME }} - name: Set custom variables shell: sh