Skip to content

Commit

Permalink
adding deps
Browse files Browse the repository at this point in the history
Signed-off-by: dwertent <[email protected]>
  • Loading branch information
dwertent committed Sep 19, 2024
1 parent 2d72360 commit eb52bc9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,16 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
push: false

# TODO: Run a basic test to make sure the image was built correctly
# This is just a placeholder, we should replace this with a real test
# - name: Test the image
# run: |
# docker run -d -p <>:<> --name paladin-test \
# -v <path to config file on host>:<path to config file> \
# ${{ inputs.image_regstry }}/${{ inputs.image_name }}:${{ inputs.image_tag }} \
# -Djna.library.path=/app \
# -jar paladin.jar <path to config file> <node name>
# sleep 5
# docker logs paladin-test | grep 'Started PaladinApplication' && echo 'Test passed' || echo 'Test failed'
# timeout-minutes: 5
1 change: 1 addition & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
artifacts_path: buils/libs

build-image:
needs: test-and-build
permissions:
actions: read
checks: read
Expand Down

0 comments on commit eb52bc9

Please sign in to comment.