Skip to content

Commit 057f627

Browse files
committed
fix docker buildx args
Signed-off-by: Mikhail Sidorov <[email protected]>
1 parent e4e7f70 commit 057f627

File tree

1 file changed

+1
-1
lines changed
  • pkg/plugins/golang/v3/scaffolds/internal/templates

1 file changed

+1
-1
lines changed

pkg/plugins/golang/v3/scaffolds/internal/templates/makefile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ docker-buildx: test ## Build and push docker image for the manager for cross-pla
152152
sed -e '1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross
153153
- docker buildx create --name project-v3-builder
154154
docker buildx use project-v3-builder
155-
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile.cross
155+
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile.cross .
156156
- docker buildx rm project-v3-builder
157157
rm Dockerfile.cross
158158

0 commit comments

Comments
 (0)