Skip to content

Commit 8bee950

Browse files
committed
Add git in build phase
Signed-off-by: Federico Busetti <[email protected]>
1 parent cd8216e commit 8bee950

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.gitlab_ci/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ build-test:
77
variables:
88
DOCKER_BUILDKIT: 1
99
before_script:
10-
- apk add --no-cache qemu bash
10+
- apk add --no-cache qemu bash git
1111
script:
1212
- docker buildx create --use
1313
- docker buildx inspect --bootstrap
14-
- docker buildx build --load --target=dev --tag=$TEST_TAG --cache-to=type=local,dest=/tmp/.buildx-cache --cache-from=type=local,src=/tmp/.buildx-cache .
14+
- |
15+
docker buildx build --load --target=dev --tag=$TEST_TAG \
16+
--cache-to=type=local,dest=/tmp/.buildx-cache \
17+
--cache-from=type=local,src=/tmp/.buildx-cache \
18+
.
1519
artifacts:
1620
paths:
1721
- /tmp/.buildx-cache

0 commit comments

Comments
 (0)