# 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.0-cli-alpine3.17@sha256:300cac3c80e05272c10fb989ef3a7609644b5f0aafe6c15738bcdeaac520db93 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.128.1@sha256:97747ed73b5a83296fda552836f823638512b2d6e64700a22dd6cd3a3977d686 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