ci: secrets
All checks were successful
Build and Deploy ytdlp-site / build-deploy (push) Successful in 2m12s

This commit is contained in:
2025-08-29 09:33:27 -06:00
parent e5e1987bd1
commit 5ef8692a3a

View File

@@ -45,16 +45,9 @@ jobs:
--tag ${{ env.SLUG }}:${{ env.DATE }} \
--tag ${{ env.SLUG }}:latest
# - name: Deploy to Container Registry
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
# run: |
# echo "${{ secrets.GHCR_TOKEN }}" | docker login git.carlpearson.net -u cwpearson --password-stdin
# docker push ${{ env.SLUG }}:latest
# docker push ${{ env.SLUG }}:${{ env.DATE }}
- name: Deploy to Container Registry
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
docker login git.carlpearson.net -u cwpearson
echo "${{ secrets.GIT_PASSWORD }}" | docker login git.carlpearson.net -u "${{ secrets.GIT_USERNAME }}" --password-stdin
docker push ${{ env.SLUG }}:latest
docker push ${{ env.SLUG }}:${{ env.DATE }}