Skip to content

Commit 719a82d

Browse files
committed
Add step to install Docker buildx
1 parent ef31765 commit 719a82d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ commands:
110110
default: DOCKER_PASS
111111
steps:
112112
- checkout
113+
114+
- setup_remote_docker:
115+
version: '20.10.2'
116+
117+
- run:
118+
name: Install Docker buildx
119+
command: |
120+
docker build --platform=local -o ~ git://github.com/docker/buildx
121+
mkdir -p ~/.docker/cli-plugins
122+
mv ~/buildx ~/.docker/cli-plugins/docker-buildx
123+
environment:
124+
DOCKER_BUILDKIT: 1
125+
113126
- run:
114127
name: Build Docker image and push to Docker Hub
115128
command: |

0 commit comments

Comments
 (0)