This commit is contained in:
alyssa 2024-09-05 18:47:16 +09:00
parent 601d266063
commit 0582a1862c
3 changed files with 26 additions and 0 deletions

19
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: PluralKit CI
on:
- push
- pull_request
jobs:
build-ci-container:
runs-on: ubuntu-latest
steps:
- uses: docker/build-push-action@v2
with:
push: false
tags: pkci
file: ci/Dockerfile
setup-ci:
runs-on: ubuntu-latest
needs: ["build-ci-container"]
container:
image: pkci

4
ci/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM alpine:latest
RUN apk add python3
COPY ci/run_ci.py /run_ci.py
ENTRYPOINT ["/run_ci.py"]

3
ci/run_ci.py Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env python3
print("hello from python!")