Skip to content

Commit

Permalink
CL-0: Saving changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonello-simeon-m0 committed Dec 12, 2024
1 parent f33b09d commit 62e7aaf
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/license_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,28 @@ jobs:
# Checking out the GitHub repository on the runner
- name: Checkout
uses: 'actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608'
with:
repository: m0-foundation/license-finder

- name: copy doc folder
run: |
cp -r doc .
- name: Checkout
uses: 'actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608'

- name: List files
run: |
ls -la
# Uses github action to pull docker image and run commands
- name: Run the build process with Docker
uses: 'addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185'
with:
username: ${{ vars.LICENSE_FINDER_GITLAB_REGISTRY_USERNAME }}
password: ${{ secrets.LICENSE_FINDER_GITLAB_REGISTRY_PASSWORD }}
registry: ${{ env.CONTAINER_REGISTRY }}
image: ${{ env.CONTAINER_REGISTRY }}/crosslend/docker/license-finder/main
run: |
source /usr/share/rvm/scripts/rvm; license_finder --prepare --composer-check-require-only=true --decisions-file=/doc/dependency_decisions.yml --python-version=3
#- name: Run the build process with Docker
# uses: 'addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185'
# with:
# username: ${{ vars.LICENSE_FINDER_GITLAB_REGISTRY_USERNAME }}
# password: ${{ secrets.LICENSE_FINDER_GITLAB_REGISTRY_PASSWORD }}
# registry: ${{ env.CONTAINER_REGISTRY }}
# image: ${{ env.CONTAINER_REGISTRY }}/crosslend/docker/license-finder/main
# run: |
# source /usr/share/rvm/scripts/rvm; license_finder --prepare --composer-check-require-only=true --decisions-file=/doc/dependency_decisions.yml --python-version=3

0 comments on commit 62e7aaf

Please sign in to comment.