tag
Some checks failed
Prod Deploy / Explore-Gitea-Actions (push) Failing after 9s

This commit is contained in:
Junhui Chen 2025-07-14 13:04:54 +08:00
parent e68a102492
commit 720bd59a83

View File

@ -2,8 +2,10 @@ name: Prod Deploy
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: on:
push: push:
tags:
- 'releases/*'
branches: branches:
- releases/* - 'releases/*'
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
@ -22,8 +24,7 @@ jobs:
- name: Build Docker Image - name: Build Docker Image
run: | run: |
echo "Building the Docker image..." echo "Building the Docker image..."
branch=${{ gitea.ref_name }} tag_name=${{ gitea.ref_name }}
tag_name=$(git rev-parse HEAD) docker build -t docker.fairclip.cn/memowake/memowake-front:${tag_name} .
docker build -t docker.fairclip.cn/memowake/memowake-front:${branch}-${tag_name} . docker push docker.fairclip.cn/memowake/memowake-front:${tag_name}
docker push docker.fairclip.cn/memowake/memowake-front:${branch}-${tag_name}
echo "Docker image built successfully!" echo "Docker image built successfully!"