ci: build and push via internal registry to bypass Cloudflare 413
Build and Push Docker Image / build (push) Successful in 1m31s

This commit is contained in:
Stardream
2026-05-22 21:35:36 +10:00
parent dc949bdeab
commit 38cd9dbeaf
+3 -2
View File
@@ -18,11 +18,12 @@ jobs:
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
run: | run: |
echo "${{ secrets.CR_TOKEN }}" | \ echo "${{ secrets.CR_TOKEN }}" | \
docker login git.stdm.moe -u ${{ github.actor }} --password-stdin docker login 127.0.0.1:3333 -u ${{ github.actor }} --password-stdin
- name: Build and push - name: Build and push
run: | run: |
IMAGE=git.stdm.moe/stardream/streamhall IMAGE=127.0.0.1:3333/stardream/streamhall
PUBLIC=git.stdm.moe/stardream/streamhall
REF="${{ github.ref }}" REF="${{ github.ref }}"
if [[ "$REF" == refs/tags/* ]]; then if [[ "$REF" == refs/tags/* ]]; then