fix(ci): 使用 apt-get 替代 apk (Ubuntu runner)

This commit is contained in:
2026-07-19 20:43:43 +08:00
parent 8e2dd566e2
commit 0bc46270a7
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
- name: Build & Push Docker image - name: Build & Push Docker image
run: | run: |
apk add --no-cache docker-cli apt-get update -qq && apt-get install -y -qq docker.io
TAG=${{ gitea.sha }} TAG=${{ gitea.sha }}
docker build -t $REGISTRY/$APP:$TAG -t $REGISTRY/$APP:${{ inputs.environment }} . docker build -t $REGISTRY/$APP:$TAG -t $REGISTRY/$APP:${{ inputs.environment }} .
docker push $REGISTRY/$APP:$TAG docker push $REGISTRY/$APP:$TAG