Skip to content

Commit e5b2c10

Browse files
authored
Merge pull request #168 from alex-semenyuk/fix_release_issue
Add explicit github actions permissions
2 parents 70b915a + 27fdec6 commit e5b2c10

5 files changed

Lines changed: 657 additions & 614 deletions

File tree

.github/workflows/docker_main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
docker:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
packages: write
1114
steps:
1215
- uses: actions/checkout@v4
1316

.github/workflows/docker_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
docker:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
1013
steps:
1114
- uses: actions/checkout@v4
1215
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ADD --chown=node:node . .
1010
RUN npm run build
1111

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

0 commit comments

Comments
 (0)