Skip to content

Commit

Permalink
ci, experimentation wip
Browse files Browse the repository at this point in the history
  • Loading branch information
danielFlemstrom committed Sep 12, 2024
1 parent f531240 commit fafa0a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ jobs:
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login harbor.main.rise-ck8s.com -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Pull Docker image
- name: Set image_tag based on available image
run: |
docker pull harbor.main.rise-ck8s.com/des-public/tutorials:${{ github.sha }} || docker pull harbor.main.rise-ck8s.com/des-public/tutorials:latest
if docker pull harbor.main.rise-ck8s.com/des-public/tutorials:${{ github.sha }}; then
echo "image_tag=${{ github.sha }}" >> $GITHUB_ENV
else
docker pull harbor.main.rise-ck8s.com/des-public/tutorials:latest
echo "image_tag=latest" >> $GITHUB_ENV
fi
- name: Run notebook tests
run: |
chmod +x ./start_tests.sh
Expand Down

0 comments on commit fafa0a3

Please sign in to comment.