소스 검색

Update main.yml

try this way of authenticating to the github packages docker registry
Mark Szepieniec 3 년 전
부모
커밋
46b77044c0
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      .github/workflows/main.yml

+ 3 - 0
.github/workflows/main.yml

@@ -16,6 +16,9 @@ jobs:
     runs-on: ubuntu-latest
     container:
       image: docker.pkg.github.com/mszep/pandoc_resume/resume_builder:latest
+      credentials:
+        username: ${{ github.actor }}
+        password: ${{ secrets.GITHUB_TOKEN }}
 
     steps:
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it