This commit is contained in:
parent
e37b31d28c
commit
a651dd381b
@ -6,8 +6,8 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
commands:
|
commands:
|
||||||
- mkdir .secret
|
- mkdir .secret
|
||||||
- echo "$USER" > .secret/user
|
- echo "$USER" > .secret/user
|
||||||
- echo "$TOKEN" > .secret/token
|
- echo "$TOKEN" > .secret/token
|
||||||
- DOCKER_BUILDKIT=1 docker build . --secret id=user,src=.secret/user --secret id=token,src=.secret/token
|
- DOCKER_BUILDKIT=1 docker build . --secret id=user,src=.secret/user --secret id=token,src=.secret/token
|
||||||
- rm -rf .secret
|
- rm -rf .secret
|
||||||
|
Loading…
Reference in New Issue
Block a user