fix: try apk instead of apt-get for docker-cli
This commit is contained in:
@@ -27,8 +27,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build & Push Docker image
|
- name: Build & Push Docker image
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq
|
apk add --no-cache docker-cli
|
||||||
apt-get install -y -qq docker.io
|
|
||||||
TAG=${{ github.sha }}
|
TAG=${{ github.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