diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..db1288f --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..5b68cdb --- /dev/null +++ b/Containerfile @@ -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 + diff --git a/create_packs.sh b/create_packs.sh new file mode 100755 index 0000000..55596c5 --- /dev/null +++ b/create_packs.sh @@ -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 diff --git a/packs/saintnet_stickers/angel_laughter.png b/packs/saintnet_stickers/angel_laughter.png new file mode 100644 index 0000000..7a4bc1b Binary files /dev/null and b/packs/saintnet_stickers/angel_laughter.png differ diff --git a/packs/saintnet_stickers/azrael_taking_notes.png b/packs/saintnet_stickers/azrael_taking_notes.png new file mode 100644 index 0000000..09d458a Binary files /dev/null and b/packs/saintnet_stickers/azrael_taking_notes.png differ diff --git a/packs/saintnet_stickers/cashmoney.png b/packs/saintnet_stickers/cashmoney.png new file mode 100644 index 0000000..06b68a6 Binary files /dev/null and b/packs/saintnet_stickers/cashmoney.png differ diff --git a/packs/saintnet_stickers/concerned_panda.png b/packs/saintnet_stickers/concerned_panda.png new file mode 100644 index 0000000..bee5dc0 Binary files /dev/null and b/packs/saintnet_stickers/concerned_panda.png differ diff --git a/packs/saintnet_stickers/crow_judge.png b/packs/saintnet_stickers/crow_judge.png new file mode 100644 index 0000000..37adbb5 Binary files /dev/null and b/packs/saintnet_stickers/crow_judge.png differ diff --git a/packs/saintnet_stickers/deus_vult_intensifies.png b/packs/saintnet_stickers/deus_vult_intensifies.png new file mode 100644 index 0000000..61502d1 Binary files /dev/null and b/packs/saintnet_stickers/deus_vult_intensifies.png differ diff --git a/packs/saintnet_stickers/enigma_mean.png b/packs/saintnet_stickers/enigma_mean.png new file mode 100644 index 0000000..ee9440b Binary files /dev/null and b/packs/saintnet_stickers/enigma_mean.png differ diff --git a/packs/saintnet_stickers/even_in_death.png b/packs/saintnet_stickers/even_in_death.png new file mode 100644 index 0000000..9da1cb4 Binary files /dev/null and b/packs/saintnet_stickers/even_in_death.png differ diff --git a/packs/saintnet_stickers/gura_remember.png b/packs/saintnet_stickers/gura_remember.png new file mode 100644 index 0000000..8084b7e Binary files /dev/null and b/packs/saintnet_stickers/gura_remember.png differ diff --git a/packs/saintnet_stickers/husband.png b/packs/saintnet_stickers/husband.png new file mode 100644 index 0000000..90b6f07 Binary files /dev/null and b/packs/saintnet_stickers/husband.png differ diff --git a/packs/saintnet_stickers/husband_closeup.png b/packs/saintnet_stickers/husband_closeup.png new file mode 100644 index 0000000..d9224a6 Binary files /dev/null and b/packs/saintnet_stickers/husband_closeup.png differ diff --git a/packs/saintnet_stickers/incredible_problems.png b/packs/saintnet_stickers/incredible_problems.png new file mode 100644 index 0000000..6d9ccdc Binary files /dev/null and b/packs/saintnet_stickers/incredible_problems.png differ diff --git a/packs/saintnet_stickers/indescribeable_concern.png b/packs/saintnet_stickers/indescribeable_concern.png new file mode 100644 index 0000000..71d61c8 Binary files /dev/null and b/packs/saintnet_stickers/indescribeable_concern.png differ diff --git a/packs/saintnet_stickers/innocent_trust.png b/packs/saintnet_stickers/innocent_trust.png new file mode 100644 index 0000000..63b317b Binary files /dev/null and b/packs/saintnet_stickers/innocent_trust.png differ diff --git a/packs/saintnet_stickers/kinda_dumb.png b/packs/saintnet_stickers/kinda_dumb.png new file mode 100644 index 0000000..719dd03 Binary files /dev/null and b/packs/saintnet_stickers/kinda_dumb.png differ diff --git a/packs/saintnet_stickers/lets_fucking_go.png b/packs/saintnet_stickers/lets_fucking_go.png new file mode 100644 index 0000000..330a952 Binary files /dev/null and b/packs/saintnet_stickers/lets_fucking_go.png differ diff --git a/packs/saintnet_stickers/lina_calculating.png b/packs/saintnet_stickers/lina_calculating.png new file mode 100644 index 0000000..a0b71c5 Binary files /dev/null and b/packs/saintnet_stickers/lina_calculating.png differ diff --git a/packs/saintnet_stickers/not_as_into_this.png b/packs/saintnet_stickers/not_as_into_this.png new file mode 100644 index 0000000..1d8c44c Binary files /dev/null and b/packs/saintnet_stickers/not_as_into_this.png differ diff --git a/packs/saintnet_stickers/nun1.png b/packs/saintnet_stickers/nun1.png new file mode 100644 index 0000000..89852b8 Binary files /dev/null and b/packs/saintnet_stickers/nun1.png differ diff --git a/packs/saintnet_stickers/pants.png b/packs/saintnet_stickers/pants.png new file mode 100644 index 0000000..d5fe76f Binary files /dev/null and b/packs/saintnet_stickers/pants.png differ diff --git a/packs/saintnet_stickers/pathetic.png b/packs/saintnet_stickers/pathetic.png new file mode 100644 index 0000000..0858dc2 Binary files /dev/null and b/packs/saintnet_stickers/pathetic.png differ diff --git a/packs/saintnet_stickers/peridot_freedom.png b/packs/saintnet_stickers/peridot_freedom.png new file mode 100644 index 0000000..6d22e16 Binary files /dev/null and b/packs/saintnet_stickers/peridot_freedom.png differ diff --git a/packs/saintnet_stickers/quack_concern.png b/packs/saintnet_stickers/quack_concern.png new file mode 100644 index 0000000..3eeb4d9 Binary files /dev/null and b/packs/saintnet_stickers/quack_concern.png differ diff --git a/packs/saintnet_stickers/relaxing.png b/packs/saintnet_stickers/relaxing.png new file mode 100644 index 0000000..b559914 Binary files /dev/null and b/packs/saintnet_stickers/relaxing.png differ diff --git a/packs/saintnet_stickers/slap_to_the_face.png b/packs/saintnet_stickers/slap_to_the_face.png new file mode 100644 index 0000000..495f5da Binary files /dev/null and b/packs/saintnet_stickers/slap_to_the_face.png differ diff --git a/packs/saintnet_stickers/smug_tomo_girls.png b/packs/saintnet_stickers/smug_tomo_girls.png new file mode 100644 index 0000000..5fbc8f2 Binary files /dev/null and b/packs/saintnet_stickers/smug_tomo_girls.png differ diff --git a/packs/saintnet_stickers/sniper_questioning.png b/packs/saintnet_stickers/sniper_questioning.png new file mode 100644 index 0000000..fb3cfc5 Binary files /dev/null and b/packs/saintnet_stickers/sniper_questioning.png differ diff --git a/packs/saintnet_stickers/speakreddit.png b/packs/saintnet_stickers/speakreddit.png new file mode 100644 index 0000000..1eab168 Binary files /dev/null and b/packs/saintnet_stickers/speakreddit.png differ diff --git a/packs/saintnet_stickers/steveno.png b/packs/saintnet_stickers/steveno.png new file mode 100644 index 0000000..dbbaa0c Binary files /dev/null and b/packs/saintnet_stickers/steveno.png differ diff --git a/packs/saintnet_stickers/therapist.png b/packs/saintnet_stickers/therapist.png new file mode 100644 index 0000000..b420f84 Binary files /dev/null and b/packs/saintnet_stickers/therapist.png differ diff --git a/packs/saintnet_stickers/torment_you.png b/packs/saintnet_stickers/torment_you.png new file mode 100644 index 0000000..9b6fd27 Binary files /dev/null and b/packs/saintnet_stickers/torment_you.png differ diff --git a/packs/saintnet_stickers/you_have_breasts.png b/packs/saintnet_stickers/you_have_breasts.png new file mode 100644 index 0000000..ee72cc5 Binary files /dev/null and b/packs/saintnet_stickers/you_have_breasts.png differ diff --git a/packs/saintnet_stickers/youre_gonna_carry_that.png b/packs/saintnet_stickers/youre_gonna_carry_that.png new file mode 100644 index 0000000..f7897ad Binary files /dev/null and b/packs/saintnet_stickers/youre_gonna_carry_that.png differ diff --git a/packs/saintnet_stickers/zenyatta_proud.png b/packs/saintnet_stickers/zenyatta_proud.png new file mode 100644 index 0000000..2780ea5 Binary files /dev/null and b/packs/saintnet_stickers/zenyatta_proud.png differ