Skip to content

Commit

Permalink
Merge pull request #168 from alex-semenyuk/fix_release_issue
Browse files Browse the repository at this point in the history
Add explicit github actions permissions
  • Loading branch information
EnriqueL8 authored Sep 17, 2024
2 parents 70b915a + 27fdec6 commit e5b2c10
Show file tree
Hide file tree
Showing 5 changed files with 657 additions and 614 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ADD --chown=node:node . .
RUN npm run build

FROM ${BUILD_IMAGE} as solidity-build
RUN apk add python3=3.10.14-r1 alpine-sdk=1.0-r1
RUN apk update && apk add --no-cache python3 alpine-sdk
USER node
WORKDIR /home/node
ADD --chown=node:node ./samples/solidity/package*.json ./
Expand Down
Loading

0 comments on commit e5b2c10

Please sign in to comment.