Cliff Colvin 2 лет назад
Родитель
Сommit
93bdc872f9
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      .github/workflows/build-and-publish-release.yml

+ 5 - 0
.github/workflows/build-and-publish-release.yml

@@ -42,6 +42,11 @@ jobs:
           pushd ./opencost
           echo "OC_SHORTHASH=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
           popd
+      
+      - name: Login to GHCR
+        id: ghcr
+        run: |
+          run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
 
       - name: Set OpenCost Image Tags
         id: tags