GitHub Actions
2024/4/9 22:50:00
FROM ubuntu:latest
# Install dependencies
RUN apt-get update && \
apt-get install -y curl tar libunwind8 gettext jq && \
rm -rf /var/lib/apt/lists/*
# Create a folder for the runner
WORKDIR /actions-runner
# Download the latest runner package
RUN curl -o actions-runner-linux-x64-2.325.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.325.0/actions-runner-linux-x64-2.325.0.tar.gz
# Optional: Validate the hash
RUN echo "5020da7139d85c776059f351e0de8fdec753affc9c558e892472d43ebeb518f4 actions-runner-linux-x64-2.325.0.tar.gz" | sha256sum
# Extract the installer
RUN tar xzf ./actions-runner-linux-x64-2.325.0.tar.gz
ENV RUNNER_ALLOW_RUNASROOT=1
# Configure and run the runner
RUN ./config.sh --url https://github.com/llm-talk/llm-talk --token XXXXXXXXXXXXXX
# Set the working directory to /actions-runner
WORKDIR /actions-runner
# Start the runner
CMD ["./run.sh"]
Wasmer Edge、レスポンスが遅いとはいえ、サーバープログラムを安価に(というか無料で)動かせて、コマンド一発でデプロイできるのは便利なので、頑張ってほしい。
Lambdaだとデプロイがなにかと面倒だし、実行時間の制約があったりするのが面倒。
VPS上にCI/CDを構築できりゃあいいんだけども、知見がなくて調べて構築するのが面倒。
GitHub Actions使うのがナウいんだろうけども、なんか違うんだよなぁ……。一人開発なのに一回外部のサービスを経由するのが嫌。チョクでデプロイしたい。
どうせならGiteaとか動かして、Gitea Actionsでデプロイできるようにするとか……。