Skip to content

Commit bb1aa69

Browse files
update perms
1 parent 14e96ef commit bb1aa69

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/windows-container-build-test-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,8 @@ jobs:
6363
./Makefile.ps1 Test -ImageName ${{ env.IMAGE_BASE_NAME }} -Release ${{ matrix.matlab-release }} -Token ${{ secrets.MATLAB_BATCH_TOKEN_EXPIRES_03_2026 }}
6464
6565
- name: Login to GitHub Container Registry
66-
uses: docker/login-action@v3
67-
with:
68-
registry: ghcr.io
69-
username: ${{ github.repository_owner }}
70-
password: ${{ secrets.GITHUB_TOKEN }}
66+
run: |
67+
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
7168
7269
- name: Push the image to ghcr.io
7370
run: |

0 commit comments

Comments
 (0)