Skip to content

Commit f43e611

Browse files
authored
fix: bump changes to docker ghcr login (#1279)
1 parent 52c7d41 commit f43e611

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,19 @@ jobs:
2828
uses: docker/login-action@v3
2929
with:
3030
registry: ghcr.io
31-
username: ${{ secrets.PAT_USERNAME }}
32-
password: ${{ secrets.PAT_TOKEN }}
31+
username: ${{ github.repository_owner }}
32+
password: ${{ secrets.GITHUB_TOKEN }}
3333

3434
- name: Extract metadata (tags, labels) for Docker
3535
id: meta
3636
uses: docker/metadata-action@v4
3737
with:
38-
images: ghcr.io/${{ env.IMAGE_NAME }}
38+
images: ghcr.io/bigcommerce/stencil-cli
3939
- name: Set up Docker Buildx
4040
uses: docker/setup-buildx-action@v3
4141

4242
- name: Build and push
4343
uses: docker/build-push-action@v6
4444
with:
4545
push: true
46-
registry: ghcr.io
47-
username: ${{ github.actor }}
48-
password: ${{ secrets.GITHUB_TOKEN }}
4946
tags: bigcommerce/stencil-cli:latest

0 commit comments

Comments
 (0)