Make container images also available on quay.io #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dash | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check-dash: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# taken from here: https://github.com/eclipse/dash-licenses#example-python | |
- name: Create Dash Dependency Report | |
run: | | |
python3 -m venv ./.venv/kuksa-can-provider | |
source ./.venv/kuksa-can-provider/bin/activate | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
deactivate | |
python3 -m venv ./.venv/pipdeptree | |
source ./.venv/pipdeptree/bin/activate | |
pip install --upgrade pip | |
pip install pipdeptree | |
pipdeptree -a -f --python ./.venv/kuksa-can-provider/bin/python \ | |
| sed -E -e 's|([^= ]+)==([^= ]+)|pypi/pypi/-/\1/\2|' -e 's| ||g' \ | |
| sort | uniq \ | |
> dependencies.txt | |
- name: Dash license check | |
uses: eclipse-kuksa/kuksa-actions/check-dash@4 | |
with: | |
dashinput: ${{github.workspace}}/dependencies.txt | |
dashtoken: ${{ secrets.ECLIPSE_GITLAB_API_TOKEN}} |