fix(deploy): update vulnerable Debian library before image scan
This commit is contained in:
1 parent
c7cd4d8ef2
commit
7c9bc079da
3 files changed
+37
-6
No files matched your search
+19
-6
@@ -264,9 +264,18 @@ jobs:
|
||||
|
||||
- name: Build Community images
|
||||
run: |
|
||||
docker build -f apps/admin-api/Dockerfile -t crank/admin-api:ci .
|
||||
docker build -f apps/mcp-server/Dockerfile -t crank/mcp-server:ci .
|
||||
docker build -f apps/ui/Dockerfile -t crank/ui:ci .
|
||||
docker build --pull --build-arg CRANK_SECURITY_REFRESH=${{ gitea.sha }} \
|
||||
-f apps/admin-api/Dockerfile -t crank/admin-api:ci .
|
||||
docker build --pull --build-arg CRANK_SECURITY_REFRESH=${{ gitea.sha }} \
|
||||
-f apps/mcp-server/Dockerfile -t crank/mcp-server:ci .
|
||||
docker build --pull -f apps/ui/Dockerfile -t crank/ui:ci .
|
||||
|
||||
- name: Scan Community images
|
||||
run: |
|
||||
scripts/scan-images.sh \
|
||||
crank/admin-api:ci \
|
||||
crank/mcp-server:ci \
|
||||
crank/ui:ci
|
||||
|
||||
- name: Start Community image stack
|
||||
run: |
|
||||
@@ -395,15 +404,19 @@ jobs:
|
||||
|
||||
- name: Build and push images
|
||||
run: |
|
||||
docker build -f apps/admin-api/Dockerfile \
|
||||
docker build --pull \
|
||||
--build-arg CRANK_SECURITY_REFRESH=${{ env.IMAGE_TAG }} \
|
||||
-f apps/admin-api/Dockerfile \
|
||||
-t '${{ env.ADMIN_API_IMAGE }}:${{ env.IMAGE_TAG }}' \
|
||||
-t '${{ env.ADMIN_API_IMAGE }}:main' \
|
||||
.
|
||||
docker build -f apps/mcp-server/Dockerfile \
|
||||
docker build --pull \
|
||||
--build-arg CRANK_SECURITY_REFRESH=${{ env.IMAGE_TAG }} \
|
||||
-f apps/mcp-server/Dockerfile \
|
||||
-t '${{ env.MCP_SERVER_IMAGE }}:${{ env.IMAGE_TAG }}' \
|
||||
-t '${{ env.MCP_SERVER_IMAGE }}:main' \
|
||||
.
|
||||
docker build -f apps/ui/Dockerfile \
|
||||
docker build --pull -f apps/ui/Dockerfile \
|
||||
-t '${{ env.UI_IMAGE }}:${{ env.IMAGE_TAG }}' \
|
||||
-t '${{ env.UI_IMAGE }}:main' \
|
||||
.
|
||||
|
||||
Reference in new issue
Block a user