This commit is contained in:
parent
dd896c09e5
commit
d3bd2b01b3
@ -19,6 +19,7 @@ steps:
|
|||||||
path: /var/run
|
path: /var/run
|
||||||
commands:
|
commands:
|
||||||
- sleep 15
|
- sleep 15
|
||||||
|
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
||||||
- docker build --no-cache -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" .
|
- docker build --no-cache -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" .
|
||||||
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest"
|
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest"
|
||||||
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"
|
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"
|
||||||
@ -43,6 +44,6 @@ image_pull_secrets:
|
|||||||
- DOCKER_AUTH
|
- DOCKER_AUTH
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 2a2b2338d4364359a1dd88b030f57bec8afd6ff40cd7c991cfb54a86a71a4bb0
|
hmac: bc1aa69377273a66870bb987f6b39bdd59d7794b9a76e132b72e19124a056e04
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user