Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed May 30, 2024
1 parent 34a9aed commit ede4b04
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ inputs:
description: 'Prefix for the cache'
required: true
default: 'v1'
env:
description: 'Environment variables to pass to pkgr'
required: false
default: ''

outputs:
workspace:
Expand Down Expand Up @@ -76,17 +80,14 @@ runs:
run: |
workspace=${{ steps.setup.outputs.workspace }}
env | grep DATABASE_URL
cd ${{ inputs.path }}
docker run --rm \
-v .:/pkgr/app \
-v $workspace/cache:/pkgr/cache \
-v $workspace/output:/pkgr/output \
--net=host \
-e DATABASE_URL -e REDIS_URL \
ghcr.io/crohr/pkgr/${{ inputs.target }}-${{ inputs.pkgr_version }} \
--name "${{ inputs.name }}" --version "${{ inputs.version }}" --iteration "${{ steps.setup.outputs.iteration }}"
--name "${{ inputs.name }}" --version "${{ inputs.version }}" --iteration "${{ steps.setup.outputs.iteration }}" --env "${{ inputs.env }}"
package_path=""
if [ -f $workspace/output/*.deb ]; then
Expand Down

0 comments on commit ede4b04

Please sign in to comment.