Skip to content

Commit

Permalink
added container registry log in step
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkuffa authored Nov 4, 2024
1 parent 567f8dc commit 04c54ff
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/run-hurl-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ jobs:
permissions:
contents: read
packages: write
container:
image: ghcr.io/${{ github.repository_owner }}/backend:latest

steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# GitHub sets up this token for you

- name: Run tests in container
uses: docker://ghcr.io/${{ github.repository_owner }}/backend:latest
with:
Expand Down

0 comments on commit 04c54ff

Please sign in to comment.