新客户版
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4m1s

This commit is contained in:
宋居成 2025-08-12 16:31:46 +08:00
parent ef45abd19e
commit e4fed25f95

View File

@ -3,7 +3,7 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches:
- 'new_female'
- 'kehu_female'
env:
BUILD: staging
@ -30,15 +30,15 @@ jobs:
uses: https://gitea.yantootech.com/neil/build-push-action@v6
with:
push: false
tags: emotion-female-digital-video:${{ gitea.run_id }}
tags: emotion-female-digital-video-kehu:${{ gitea.run_id }}
- name: Run docker
run: |
pwd
if [ "$(docker ps -q -f name=^emotion-female-digital-video$)" ]; then
docker stop emotion-female-digital-video
if [ "$(docker ps -q -f name=^emotion-female-digital-video-kehu$)" ]; then
docker stop emotion-female-digital-video-kehu
fi
docker run -d --rm --name emotion-female-digital-video \
docker run -d --rm --name emotion-female-digital-video-kehu \
-v /usr/share/fonts/opentype/noto:/usr/share/fonts \
-p 6901:3000 \
emotion-female-digital-video:${{ gitea.run_id }}
-p 6922:3000 \
emotion-female-digital-video-kehu:${{ gitea.run_id }}
- run: echo "🍏 This job's status is ${{ job.status }}."