Skip to content

Commit

Permalink
test pulling
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Oct 25, 2024
1 parent 795b748 commit 977f04a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,12 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_PAT }}
- name: List Available Images in GitHub Container Registry
run: |
curl -s -H "Authorization: Bearer ${{ secrets.GH_PAT_FOR_SHIVA }}" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/orgs/LIT-Protocol/packages?package_type=container"
- name: Pull Shiva Container
id: shiva-pull
run: docker pull ghcr.io/lit-protocol/shiva:snap-shot-test
- name: Run Shiva Container
id: shiva-runner
run: docker run -d -m 32g -p 8000:8000 -p 8545:8545 -p 7470:7470 -p 7471:7471 -p 7472:7472 -p 7473:7473 -p 7474:7474 -p 7475:7475 -v ${{github.workspace}}/lit-assets:/data -e GH_PAT=${{secrets.GH_PAT_FOR_SHIVA}} -e HASH=$DATIL_COMMIT_HASH -e IPFS_API_KEY=${{secrets.IPFS_API_KEY}} --name shiva ghcr.io/lit-protocol/shiva:latest
# - name: Run Shiva Container
# id: shiva-runner
# run: docker run -d -m 32g -p 8000:8000 -p 8545:8545 -p 7470:7470 -p 7471:7471 -p 7472:7472 -p 7473:7473 -p 7474:7474 -p 7475:7475 -v ${{github.workspace}}/lit-assets:/data -e GH_PAT=${{secrets.GH_PAT_FOR_SHIVA}} -e HASH=$DATIL_COMMIT_HASH -e IPFS_API_KEY=${{secrets.IPFS_API_KEY}} --name shiva ghcr.io/lit-protocol/shiva:latest
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
Expand Down

0 comments on commit 977f04a

Please sign in to comment.