tinqs/ci — composite actions + Lambda dispatcher for Spot CI runners
Actions: checkout, setup-go, setup-node, setup-aws Dispatcher: Lambda → EC2 Spot (ephemeral, self-terminating) Images: base, go, node, docker, deploy, godot Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# tinqs/ci base — shared foundation for all runner images
|
||||
# Alpine + git + bash + curl + AWS CLI + ssh
|
||||
# Every other image builds FROM this.
|
||||
|
||||
FROM alpine:3.23
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash git curl wget unzip tar \
|
||||
ca-certificates openssh-client \
|
||||
tzdata
|
||||
|
||||
# AWS CLI (needed by almost every workflow)
|
||||
RUN curl -fsSL https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscli.zip && \
|
||||
unzip -q /tmp/awscli.zip -d /tmp && \
|
||||
/tmp/aws/install && \
|
||||
rm -rf /tmp/awscli.zip /tmp/aws
|
||||
|
||||
RUN git --version && aws --version
|
||||
|
||||
WORKDIR /workspace
|
||||
Reference in New Issue
Block a user