Compare commits

3 Commits

Author SHA1 Message Date
8846b6679e test
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-05-17 23:45:54 +03:00
d7e9817869 Revert "fix: remove mount docker.sock"
Some checks failed
continuous-integration/drone/push Build is failing
This reverts commit 5a58d8791d.
2023-05-17 23:43:34 +03:00
b453632a7e Revert "fix: add DOCKER_SOCK env"
This reverts commit a49c8074c3.
2023-05-17 23:43:32 +03:00

View File

@ -6,13 +6,19 @@ name: default
clone:
depth: 0
environment:
DOCKER_HOST: tcp://localhost:2375
volumes:
- name: docker.sock
host:
path: /var/run/docker.sock
steps:
- name: release
image: cr.grachevko.ru/docker.io/library/docker:23.0.1-git
volumes:
- name: docker.sock
path: /var/run/docker.sock
commands:
- ls /var/run
- docker build -t drone/helm:${DRONE_BUILD_NUMBER} --progress=plain .
- echo "$PASSWORD" | docker login -u "$USERNAME" --password-stdin "$REGISTRY"
- echo RELEASE.$$(date +'%Y-%m-%dT%H-%M-%SZ' -d @$$(git --no-pager log -1 --format="%ct")) > .release_tag