|
|
@ -12,11 +12,10 @@ steps:
|
|
|
|
- name: dockersock
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run
|
|
|
|
path: /var/run
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- apk add git docker make
|
|
|
|
- apk add git docker make jq
|
|
|
|
- mkdir $HOME/.docker/
|
|
|
|
- mkdir $HOME/.docker/
|
|
|
|
- echo $GITEA_DOCKER_REGISTRY_TOKEN > $HOME/.docker/config.json
|
|
|
|
- echo $GITEA_DOCKER_REGISTRY_TOKEN > $HOME/.docker/config.json
|
|
|
|
- ls ~/.docker/
|
|
|
|
- cat ~/.docker/config.json|jq ".auths|keys"
|
|
|
|
- cat ~/.docker/config.json|wc -l
|
|
|
|
|
|
|
|
- make docker
|
|
|
|
- make docker
|
|
|
|
enviornment:
|
|
|
|
enviornment:
|
|
|
|
GITEA_DOCKER_REGISTRY_TOKEN:
|
|
|
|
GITEA_DOCKER_REGISTRY_TOKEN:
|
|
|
|