fix cicd
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Struchkov Mark 2023-12-02 21:20:37 +03:00
parent 09d67fda9c
commit f817b858d7
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -21,9 +21,9 @@ steps:
- sleep 15 - sleep 15
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
- echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin - echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.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-buildx:latest" -t "docker.struchkov.dev/docker-buildx:$DRONE_TAG" .
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" - docker push "docker.struchkov.dev/docker-buildx:latest"
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" - docker push "docker.struchkov.dev/docker-buildx:$DRONE_TAG"
trigger: trigger:
ref: ref:
@ -45,6 +45,6 @@ image_pull_secrets:
- DOCKER_AUTH - DOCKER_AUTH
--- ---
kind: signature kind: signature
hmac: c46684df5fb194cef7ee30f878cf0e7dcd6a4de7a4ce77b8ad2d76275358f4ce hmac: d6f7a9f87f18f7016513f0bceda904b4ec7a68f6daffe3ce36de4c5e77b2f9a7
... ...