This repository has been archived on 2024-01-05. You can view files and clone it, but cannot push or open issues or pull requests.
gamma.fogtype.com/.drone.yml
Nebel 83613cbaf4
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update renovate/renovate docker tag to v37.116.0
2024-01-02 12:02:59 +00:00

50 lines
1.2 KiB
YAML

# yaml-language-server: $schema=https://json.schemastore.org/drone.json
name: deploy
kind: pipeline
type: docker
node:
instance: system
trigger:
event:
- push
branch:
- main
steps:
- name: deploy
image: docker:23.0.6-cli-alpine3.17@sha256:53221a6781b9360dc2965112998cfd209034f2b8cdf98bdc314dfd740bb3c845
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- echo -n "$${ENV}" > .env
- docker compose --project-name=gammafogtypecom up --detach
- docker image prune --all --filter=until=24h --force
environment:
ENV:
from_secret: ENV
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock
---
name: renovate
kind: pipeline
type: docker
clone:
disable: true
trigger:
event:
- cron
cron:
- renovate
steps:
- name: renovate
image: renovate/renovate:37.116.0@sha256:d776f0c287720511021ec5bbbdadf6ff267eb8c7a7aad312304842885f5f197f
commands:
- renovate
environment:
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: https://git.fogtype.com/api/v1/
RENOVATE_AUTODISCOVER: "true"
RENOVATE_TOKEN:
from_secret: RENOVATE_TOKEN