This commit is contained in:
parent
9d71152d33
commit
c4b0dc1432
@ -4,8 +4,6 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- 'releases/*'
|
||||
branches:
|
||||
- 'releases/*'
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
@ -24,14 +22,13 @@ jobs:
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
echo "Building the Docker image..."
|
||||
# tag_name=${{ gitea.ref_name }}
|
||||
tag_name=0.5.0.1
|
||||
tag_name=${{ gitea.ref_name }}
|
||||
docker build -t hub.fairclip.cn/memowake/memowake-front:${tag_name} .
|
||||
docker push hub.fairclip.cn/memowake/memowake-front:${tag_name}
|
||||
echo "Docker image built successfully!"
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "Deploying the project..."
|
||||
tag_name=0.5.0.1
|
||||
tag_name=${{ gitea.ref_name }}
|
||||
bash ./scripts/prod_deploy.sh ${tag_name}
|
||||
echo "Deploy successful!"
|
||||
Loading…
x
Reference in New Issue
Block a user