ci: ubuntu
Some checks failed
Build and Deploy ytdlp-site / build-deploy (push) Failing after 1m38s

This commit is contained in:
2025-08-29 09:18:38 -06:00
parent ff3b2765a7
commit e5e1987bd1
2 changed files with 26 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ jobs:
- name: Install prerequisites
run: |
bash .ci/debian_setup_docker.sh
bash .ci/ubuntu_setup_docker.sh
- name: Build Docker image
run: |
@@ -45,9 +45,16 @@ 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: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login git.carlpearson.net -u cwpearson --password-stdin
docker login git.carlpearson.net -u cwpearson
docker push ${{ env.SLUG }}:latest
docker push ${{ env.SLUG }}:${{ env.DATE }}