Skip to content

Commit

Permalink
added permissions to push
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-Shaha committed Sep 19, 2024
1 parent f0d985f commit 54df3e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on: [push]
jobs:
publish-efr32-image:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
Expand All @@ -11,7 +16,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the hello-docker Docker image
- name: Build the Simplicity SDK Docker image
run: |
docker build -f Integrations/docker/images/Dockerfile . --tag ghcr.io/siliconlabssoftware/simplicity-sdk:latest
docker run ghcr.io/siliconlabssoftware/simplicity-sdk:latest
Expand Down

0 comments on commit 54df3e6

Please sign in to comment.