Skip to content

Commit 0486233

Browse files
author
Damion Werner
committed
try setting from gh tutorial
1 parent c503ed8 commit 0486233

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ghcr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
permissions:
1313
contents: read
1414
packages: write
15+
id-token: write
1516
steps:
1617
- name: Checkout repository
1718
uses: actions/checkout@v3
@@ -20,15 +21,14 @@ jobs:
2021
uses: docker/setup-buildx-action@v3
2122

2223
- name: Log in to the Container registry
23-
uses: docker/login-action@v3
24+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
2425
with:
25-
registry: https://ghcr.io
26+
registry: ghcr.io
2627
username: ${{ github.actor }}
2728
password: ${{ secrets.GITHUB_TOKEN }}
28-
logout: false
2929

3030
- name: Build and Push k8s-operator
31-
uses: docker/build-push-action@v6
31+
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
3232
with:
3333
context: malstrom-k8s
3434
file: malstrom-k8s/k8s-operator.dockerfile

0 commit comments

Comments
 (0)