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