Skip to content

Commit 5225863

Browse files
committed
TMP - Undo docker-login using the git actor (committer)
1 parent 207399e commit 5225863

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build-and-publish-docker-image.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build and publish docker image
22
on:
3-
workflow_dispatch:
3+
workflow_dispatch:
44
push:
55
branches:
66
- main
@@ -28,12 +28,12 @@ jobs:
2828
uses: docker/setup-buildx-action@v3
2929
with:
3030
platforms: linux/amd64
31-
- name: Log in to the Github Container registry
32-
uses: docker/login-action@v3
33-
with:
34-
registry: ${{ env.REGISTRY }}
35-
username: ${{ github.actor }}
36-
password: ${{ secrets.GITHUB_TOKEN }}
31+
# - name: Log in to the Github Container registry
32+
# uses: docker/login-action@v3
33+
# with:
34+
# registry: ${{ env.REGISTRY }}
35+
# username: ${{ github.actor }}
36+
# password: ${{ secrets.GITHUB_TOKEN }}
3737
- name: Extract metadata (tags, labels) for Docker
3838
id: meta
3939
uses: docker/metadata-action@v5
@@ -57,4 +57,4 @@ jobs:
5757
with:
5858
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
5959
subject-digest: ${{ steps.push.outputs.digest }}
60-
push-to-registry: true
60+
push-to-registry: true

0 commit comments

Comments
 (0)