add container, starting pack, build instructions
17
.drone.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: git.saintnet.tech/stryan/saintnet_stickers
|
||||||
|
registry: git.saintnet.tech
|
||||||
|
password:
|
||||||
|
from_secret: build_pass
|
||||||
|
username:
|
||||||
|
from_secret: build_username
|
||||||
|
dockerfile: Containerfile
|
||||||
|
tags: latest
|
||||||
|
secrets_from_env:
|
||||||
|
- pack_config=CONFIG_JSON
|
10
Containerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.11.4-bookworm as builder
|
||||||
|
WORKDIR /srv
|
||||||
|
COPY . .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN pip install .
|
||||||
|
RUN --mount=type=secret,id=pack_config ./create_packs.sh
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY --from=0 /srv/web /usr/share/nginx/html
|
||||||
|
|
6
create_packs.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cp /run/secrets/pack_config config.json
|
||||||
|
for d in packs/*/ ; do
|
||||||
|
sticker-pack $d --add-to-index web/packs/
|
||||||
|
done
|
||||||
|
rm config.json
|
BIN
packs/saintnet_stickers/angel_laughter.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
packs/saintnet_stickers/azrael_taking_notes.png
Normal file
After Width: | Height: | Size: 297 KiB |
BIN
packs/saintnet_stickers/cashmoney.png
Normal file
After Width: | Height: | Size: 536 KiB |
BIN
packs/saintnet_stickers/concerned_panda.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
packs/saintnet_stickers/crow_judge.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
packs/saintnet_stickers/deus_vult_intensifies.png
Normal file
After Width: | Height: | Size: 144 KiB |
BIN
packs/saintnet_stickers/enigma_mean.png
Normal file
After Width: | Height: | Size: 597 KiB |
BIN
packs/saintnet_stickers/even_in_death.png
Normal file
After Width: | Height: | Size: 307 KiB |
BIN
packs/saintnet_stickers/gura_remember.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
packs/saintnet_stickers/husband.png
Normal file
After Width: | Height: | Size: 963 KiB |
BIN
packs/saintnet_stickers/husband_closeup.png
Normal file
After Width: | Height: | Size: 686 KiB |
BIN
packs/saintnet_stickers/incredible_problems.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
packs/saintnet_stickers/indescribeable_concern.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
packs/saintnet_stickers/innocent_trust.png
Normal file
After Width: | Height: | Size: 137 KiB |
BIN
packs/saintnet_stickers/kinda_dumb.png
Normal file
After Width: | Height: | Size: 178 KiB |
BIN
packs/saintnet_stickers/lets_fucking_go.png
Normal file
After Width: | Height: | Size: 945 KiB |
BIN
packs/saintnet_stickers/lina_calculating.png
Normal file
After Width: | Height: | Size: 618 KiB |
BIN
packs/saintnet_stickers/not_as_into_this.png
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
packs/saintnet_stickers/nun1.png
Normal file
After Width: | Height: | Size: 999 KiB |
BIN
packs/saintnet_stickers/pants.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
packs/saintnet_stickers/pathetic.png
Normal file
After Width: | Height: | Size: 890 KiB |
BIN
packs/saintnet_stickers/peridot_freedom.png
Normal file
After Width: | Height: | Size: 206 KiB |
BIN
packs/saintnet_stickers/quack_concern.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
packs/saintnet_stickers/relaxing.png
Normal file
After Width: | Height: | Size: 128 KiB |
BIN
packs/saintnet_stickers/slap_to_the_face.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
packs/saintnet_stickers/smug_tomo_girls.png
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
packs/saintnet_stickers/sniper_questioning.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
packs/saintnet_stickers/speakreddit.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
packs/saintnet_stickers/steveno.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
packs/saintnet_stickers/therapist.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
packs/saintnet_stickers/torment_you.png
Normal file
After Width: | Height: | Size: 750 KiB |
BIN
packs/saintnet_stickers/you_have_breasts.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
packs/saintnet_stickers/youre_gonna_carry_that.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
packs/saintnet_stickers/zenyatta_proud.png
Normal file
After Width: | Height: | Size: 218 KiB |