Skip to content

Commit 6f5ad00

Browse files
committed
Fix GHCR authentication in netconf-simulator publish workflow
Correct the GitHub Actions workflow to use docker/login-action@v3 for proper authentication to GitHub Container Registry. Previously, the workflow attempted to pass the token directly via docker login, causing authentication failures. JIRA: LIGHTY-385 Signed-off-by: tobias.pobocik tobias.pobocik@pantheon.tech Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
1 parent d26f1ce commit 6f5ad00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-simulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Docker log in (ghcr.io)
6868
shell: bash
6969
run: |
70-
echo ${{ inputs.publish-access-key}} | docker login --username ${{ github.actor }} --password-stdin ghcr.io
70+
echo ${{ env.PUBLISH_ACCESS_KEY }} | docker login --username ${{ github.actor }} --password-stdin ghcr.io
7171
- name: Publish docker image (ghcr.io)
7272
shell: bash
7373
run: |

0 commit comments

Comments
 (0)