# 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.1-cli-alpine3.17@sha256:ba7715200ca50204c6a05eb888d97734aaf9e3e02432cbd3ceb2f3953b00ddab 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:34.145.0@sha256:e0f8cab45779f64584ec2c5b0c8946214994bcb6a3c47ee290e42e17dd8136ee commands: - renovate environment: RENOVATE_PLATFORM: gitea RENOVATE_ENDPOINT: https://git.fogtype.com/api/v1/ RENOVATE_AUTODISCOVER: "true" RENOVATE_AUTODISCOVER_FILTER: "nebel/!(archive.fogtype.com)" RENOVATE_TOKEN: from_secret: RENOVATE_TOKEN