Skip to content

Commit 18823f5

Browse files
Merge pull request #7 from step-security/fix/docker-push-image-fixes
added permissions
2 parents fbaa80e + 3b1569e commit 18823f5

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/build-image-on-swift-image-using-copier.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
required: true
2121
type: string
2222

23+
permissions:
24+
contents: read
25+
packages: write
26+
2327
jobs:
2428
build_tags:
2529
name: build tags for swift-${{ inputs.swift_version }}

.github/workflows/build-image-using-copier.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
build_image_using_copier:
2121
name: Build ${{ inputs.image_name }} image using copier
2222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
25+
packages: write
2326

2427
steps:
2528
- uses: actions/checkout@v6

.github/workflows/docker-image-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
required: true
2020
type: string
2121

22+
permissions:
23+
contents: read
24+
packages: write
2225

2326
jobs:
2427
build_swiftlint:

0 commit comments

Comments
 (0)