Skip to content

Commit

Permalink
ci: fix permission for docker job
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino committed Mar 8, 2024
1 parent a7b8efa commit ce1fd1f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
sudo cp zenroom /usr/local/bin
- name: 🚨 Run test
run: make unit-test

api_test:
runs-on: ubuntu-latest
name: 🧪 VCI API Tests
Expand All @@ -28,9 +29,13 @@ jobs:
run: make &
- name: 🚨 Run api test
run: make api-test

publish_docker_image:
needs: api_test
name: 🐳 publish docker image
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
permissions:
contents: read
packages: write
uses: interfacerproject/workflows/.github/workflows/publish-ghcr.yml@main
secrets: inherit

0 comments on commit ce1fd1f

Please sign in to comment.