Skip to content

Commit 5763a6b

Browse files
committed
#369 Enable Docker push for SHA tag
Pushing a Docker image (even for testing purposes) requires respective permissions.
1 parent 3d72f09 commit 5763a6b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-artifacts.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ env:
2525

2626
jobs:
2727
build:
28+
env:
29+
DOCKER_USERNAME: ${{ github.repository_owner }}
30+
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
2831
runs-on: ubuntu-latest
2932
steps:
3033
- name: Check out

.github/workflows/gradle-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515

1616
jobs:
1717
build-artifacts:
18+
permissions:
19+
packages: write
20+
contents: read
1821
uses: ./.github/workflows/build-artifacts.yml
1922
with:
2023
# SonarQube requires JDK 17 or higher

0 commit comments

Comments
 (0)