fix(ci): 使用 apt-get 替代 apk (Ubuntu runner)
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
- name: Build & Push Docker image
|
||||
run: |
|
||||
apk add --no-cache docker-cli
|
||||
apt-get update -qq && apt-get install -y -qq docker.io
|
||||
TAG=${{ gitea.sha }}
|
||||
docker build -t $REGISTRY/$APP:$TAG -t $REGISTRY/$APP:${{ inputs.environment }} .
|
||||
docker push $REGISTRY/$APP:$TAG
|
||||
|
||||
Reference in New Issue
Block a user