Skip to content

Commit 5d28e41

Browse files
authored
Update GitHub Actions workflow with permissions
Added permissions for GitHub actions to enable releases and package publishing.
1 parent 764f3b0 commit 5d28e41

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ env:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write # mandatory for making github releases
14+
packages: write # mandatory for publishing to ghcr.io
1215
steps:
1316
-
1417
name: Checkout
@@ -43,8 +46,8 @@ jobs:
4346
push: true
4447
tags: |
4548
ghcr.io/scheiblingco/smtp-relay:latest
46-
ghcr.io/scheiblingco/smtp-relay:0.8.1
49+
ghcr.io/scheiblingco/smtp-relay:0.8.10
4750
docker.io/scheibling/smtp-relay:latest
48-
docker.io/scheibling/smtp-relay:0.8.1
51+
docker.io/scheibling/smtp-relay:0.8.10
4952
50-
53+

0 commit comments

Comments
 (0)