mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 08:13:20 +08:00
update
This commit is contained in:
parent
be3e486011
commit
943b884fb3
6
.github/workflows/develop.yml
vendored
6
.github/workflows/develop.yml
vendored
@ -30,14 +30,14 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Pull image
|
- name: Pull image
|
||||||
run: |
|
run: |
|
||||||
docker pull ${{ env.IMAGE }}:latest --platform linux/amd64 || true
|
docker pull ${{ env.IMAGE }}:latest || true
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
--cache-from ${{ env.IMAGE }}:latest \
|
--cache-from ${{ env.IMAGE }}:latest \
|
||||||
--tag ${{ env.IMAGE }}:latest \
|
--tag ${{ env.IMAGE }}:latest \
|
||||||
--file ./app/backend/Dockerfile.prod \
|
--file ./backend/Dockerfile.prod \
|
||||||
"./app/backend"
|
"./backend"
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
docker push ${{ env.IMAGE }}:latest
|
docker push ${{ env.IMAGE }}:latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user