3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-22 09:29:38 +01:00

Merge pull request #950 from crazy-max/fix-ci

ci: fix workflow
This commit is contained in:
CrazyMax 2023-09-05 09:30:47 +02:00 committed by GitHub
commit 1fde16337d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,7 +272,7 @@ jobs:
-
name: Stop docker
run: |
sudo systemctl stop docker
sudo systemctl stop docker docker.socket
-
name: Build
id: docker_build
@ -900,9 +900,13 @@ jobs:
name: Checkout
uses: actions/checkout@v3
-
name: Uninstall moby cli
name: Uninstall docker cli
run: |
if dpkg -s "docker-ce" >/dev/null 2>&1; then
sudo dpkg -r --force-depends docker-ce-cli docker-buildx-plugin
else
sudo apt-get purge -y moby-cli moby-buildx
fi
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2