chore: only readme on this branch

This commit is contained in:
Supan Adit Pratama 2024-09-26 17:54:36 +07:00
parent 56e364c97a
commit 7e0d91eb11
2 changed files with 0 additions and 36 deletions

View File

@ -1,17 +0,0 @@
kind: pipeline
type: docker
name: build
steps:
- name: image
image: plugins/docker
settings:
registry: git.supanadit.com
repo: git.supanadit.com/supanadit/${DRONE_REPO_NAME}
tags: ${DRONE_TAG}
username:
from_secret: DRONE_PUBLISH_USER
password:
from_secret: DRONE_PUBLISH_KEY
trigger:
ref:
- refs/tags/*

View File

@ -1,19 +0,0 @@
FROM archlinux/archlinux:latest
RUN pacman-key --init
RUN pacman -Sy git binutils make pkg-config fakeroot openssl base-devel --noconfirm
# Create a new user
RUN useradd --no-create-home --shell=/bin/false build && usermod -L build
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER build
WORKDIR /tmp
RUN git clone https://aur.archlinux.org/yay-bin.git
WORKDIR /tmp/yay-bin
RUN makepkg -si --noconfirm
RUN yay -Sy texlive-full --noconfirm