fix cicd
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
Struchkov Mark 2023-12-02 20:50:31 +03:00
parent c8a4166304
commit dd896c09e5
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -19,10 +19,9 @@ 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_IMAGE_NAME:latest" -t "$DOCKER_IMAGE_NAME:$DRONE_TAG" . - docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest"
- docker push "$DOCKER_IMAGE_NAME:latest" - docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"
- docker push "$DOCKER_IMAGE_NAME:$DRONE_TAG"
trigger: trigger:
ref: ref:
@ -39,8 +38,11 @@ services:
volumes: volumes:
- name: dockersock - name: dockersock
temp: {} temp: {}
image_pull_secrets:
- DOCKER_AUTH
--- ---
kind: signature kind: signature
hmac: cde141b2ae23cfd6aeb7b03d0dc27f1cc42c4da76142a5bb3248db17ebb6e90b hmac: 2a2b2338d4364359a1dd88b030f57bec8afd6ff40cd7c991cfb54a86a71a4bb0
... ...