f
This commit is contained in:
parent
6a9b5c2f6a
commit
1cdb8c3e10
@ -4,8 +4,6 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- 'releases/*'
|
||||
branches:
|
||||
- 'releases/*'
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
@ -24,9 +22,8 @@ jobs:
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
echo "Building the Docker image..."
|
||||
# replace / to -
|
||||
tag_name=${{ gitea.ref_name }}
|
||||
tag_name=${tag_name//\//-}
|
||||
# tag_name=${{ gitea.ref_name }}
|
||||
# tag_name=latest
|
||||
docker build -t docker.fairclip.cn/memowake/memowake-front:${tag_name} .
|
||||
docker push docker.fairclip.cn/memowake/memowake-front:${tag_name}
|
||||
echo "Docker image built successfully!"
|
||||
Loading…
x
Reference in New Issue
Block a user