Skip to content

Commit

Permalink
issue #63: file not found, debugging with ls
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Feb 6, 2024
1 parent 17154c9 commit 7643c4e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,17 @@ jobs:
python-version: 3.8

- name: Install the remove-previous-image from github.com/ai-cfia/devops
run: python -m pip install git+https://$USER:$USER_TOKEN@github.com/ai-cfia/devops.git@26-as-a-devops-i-want-to-create-unit-tests-for-the-remove-previous-imagepy-script && ls
run: python -m pip install git+https://$USER:$USER_TOKEN@github.com/ai-cfia/devops.git@26-as-a-devops-i-want-to-create-unit-tests-for-the-remove-previous-imagepy-script
env:
USER: ${{ secrets.USER }}
USER_TOKEN: ${{ secrets.USER_TOKEN }}

- name: LS
run: ls

- name: Delete the previous image (unmerged pull request)
if: github.event.pull_request.merged == false
run: ls && python remove-previous-image/remove_previous_image.py
run: python remove-previous-image/remove_previous_image.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REGISTRY: ${{ inputs.registry }}
Expand Down

0 comments on commit 7643c4e

Please sign in to comment.