ci: build and push via internal registry to bypass Cloudflare 413
Build and Push Docker Image / build (push) Successful in 1m31s
Build and Push Docker Image / build (push) Successful in 1m31s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user