fix(ci): 移除手动安装 docker.io
This commit is contained in:
@@ -31,7 +31,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build & Push Docker image
|
- name: Build & Push Docker image
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/apt-get update -qq && /usr/bin/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
|
||||||
|
|||||||
Reference in New Issue
Block a user