Skip to content

Commit

Permalink
fix: Run CI docker but login inside of the run action not before
Browse files Browse the repository at this point in the history
  • Loading branch information
berkes committed Sep 12, 2024
1 parent 93fb0c4 commit b7fd657
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,12 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run Boon Command
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/${{ github.repository_owner }}/boon:latest
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
options: --rm
run: boon --assert-content schemas/ob_v3p0_achievementcredential_schema.json *.json

0 comments on commit b7fd657

Please sign in to comment.