31 lines
702 B
YAML
31 lines
702 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: Build ArchLinux packages!
|
|
|
|
trigger:
|
|
event:
|
|
include:
|
|
- 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"
|