Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 18, 2023
1 parent 5d50a7d commit 48036f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ on:
jobs:
check_for_updates:
runs-on: ubuntu-latest
outputs:
check_result: ${{ steps.check_openatlas_container.outputs.check_result }}
steps:
- name: check OpenAtlas container
id: check_openatlas_container
run: |
check_result="$(docker run --rm -u 0:0 --entrypoint /bin/bash ghcr.io/acdh-oeaw/openatlas/container-preview:${{ github.ref_name }} \
-c 'apt-get update >/dev/null; if [ $(apt list --upgradable 2>/dev/null | wc -l) != 1 ]; then echo -n need to upgrade; else echo -n everything fine ; fi')"
Expand Down

0 comments on commit 48036f4

Please sign in to comment.