builder/.drone.yml

33 lines
716 B
YAML
Raw Normal View History

2023-03-27 04:28:02 +02:00
---
kind: pipeline
type: docker
name: Build ArchLinux packages!
trigger:
event:
include:
- push
- custom
- cron
- tag
steps:
- name: Update Repository
image: registry.gitlab.com/geraldwuhoo/docker-aurutils:latest
pull: always
environment:
AUR_REPO_NAME: rad4day
BUILD_GPG_KEY:
from_secret: repo_signing_key
REPO_ACCESS_KEY:
from_secret: repo_access_key
REPO_SECRET_KEY:
from_secret: repo_secret_key
commands:
- "sudo cp ./pacman.conf /etc/pacman.conf"
- "sudo cp ./makepkg.conf /etc/makepkg.conf"
- "sudo chown aurutils: /repo"
- "sudo chown -R aurutils: /drone/src"
- "./entrypoint.sh"