From f468c997f82fc13c920c28101efffaaa9b743f49 Mon Sep 17 00:00:00 2001 From: Dolsy Smith Date: Wed, 3 Apr 2024 09:01:35 -0400 Subject: [PATCH] Added back GitHub login action --- .github/workflows/jekyll.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 3f3f951..c30efdb 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -46,10 +46,15 @@ jobs: repository: gwu-libraries/jekyll-journals # Using SSH to authenticate with this private repo ssh-key: ${{ secrets.JEKYLL_JOURNALS_REPO_KEY }} + # Uses the `docker/login-action` action to log in to the Container registry registry. + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} # Retrieve our modified Jekyll image from GHCR - name: Build site inside Docker container - with: - ssh-key: ${{ secrets.JEKYLL_JOURNALS_REPO_KEY }} run: | mkdir ${PWD}/builds docker pull ghcr.io/gwu-libraries/jekyll-journals-builder:main