Добавил публикацию образа в свой regestry
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2023-02-26 14:00:21 +03:00
parent 25cf9915cc
commit 7e11c39be4
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -45,8 +45,9 @@ steps:
path: /var/run path: /var/run
commands: commands:
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
- echo "$STRUCHKOV_DOCKER_REGISTRY_TOKEN" | docker login git.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
- docker buildx create --use - docker buildx create --use
- docker buildx build -f Dockerfile-develop --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:develop" . - docker buildx build -f Dockerfile-develop --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:develop" -t "git.struchkov.dev/$DOCKER_IMAGE_NAME:develop" .
--- ---
@ -193,6 +194,6 @@ volumes:
path: /drone/volume/mkdocs_cache/gitlab_notification path: /drone/volume/mkdocs_cache/gitlab_notification
--- ---
kind: signature kind: signature
hmac: 23d498c2e305f04c5aef8df6c48fa62ab96def09d238c703497a3d2955526b67 hmac: e91cf7d8dfe87ab3351ebadff2e68ab07f59ee8e5dcb9a5bf14ef4510349c872
... ...