fix: try apk instead of apt-get for docker-cli

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