Update action script
This commit is contained in:
parent
9e42d9d574
commit
2525b7d28a
2 changed files with 4 additions and 4 deletions
2
.github/workflows/local-build.yaml
vendored
2
.github/workflows/local-build.yaml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: Build docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./Services/server
|
||||
context: ./Services
|
||||
load: true
|
||||
# cache-from: type=gha
|
||||
# cache-to: type=gha,mode=max
|
||||
|
|
|
|||
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
- name: Build and push docker image
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./Services/server
|
||||
context: ./Services
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest
|
||||
|
|
@ -82,8 +82,8 @@ jobs:
|
|||
port: 10100
|
||||
script: |
|
||||
cd "${{env.COMPOSE_PATH}}"
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
echo "${{ steps.gen_ver.outputs.image_ver }}"> success
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue