fix: update ci from bullseye and install only docker cli in ci
Build and Push Docker Image / build-and-push (release) Successful in 4m43s
Build and Push Docker Image / build-and-push (release) Successful in 4m43s
This commit is contained in:
1 parent
36e89ba337
commit
0bc54fa433
1 file changed
+8
-2
@@ -18,8 +18,14 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
- name: Install Docker CLI
|
||||
run: |
|
||||
BASE_URL="https://download.docker.com/linux/static/stable/x86_64"
|
||||
VERSION="$(curl -fsSL "$BASE_URL/" | grep -oE 'docker-[0-9]+\.[0-9]+\.[0-9]+\.tgz' | sort -V | tail -1)"
|
||||
echo "Installing $VERSION"
|
||||
curl -fsSL "$BASE_URL/$VERSION" -o /tmp/docker.tgz
|
||||
tar -xzf /tmp/docker.tgz -C /usr/local/bin --strip-components=1 docker/docker
|
||||
docker version
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
Reference in new issue
Block a user