first commit

This commit is contained in:
ange 2024-04-30 18:54:18 +02:00
commit 2c02333ad8
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,15 @@
name: test
on: push
jobs:
build:
name: test
runs-on: debian
steps:
- uses: actions/checkout@v1
- uses: actions/kaniko@v1
with:
dockerfile: debian/Dockerfile
image: gmoker/debian:latest
password: "${{ secrets.PKGRW }}"

1
README.md Normal file
View File

@ -0,0 +1 @@
# runner_images

2
TODO Normal file
View File

@ -0,0 +1,2 @@
k8s deploy?
restart runners?

19
debian/Dockerfile vendored Normal file
View File

@ -0,0 +1,19 @@
FROM debian:12-slim as kubectl
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
ENV K8S_VERSION=v1.27
RUN V="$(git ls-remote --tags --refs --sort=version:refname https://github.com/kubernetes/kubernetes "$K8S_VERSION.*" | awk -F/ 'END{print $NF}')" \
&& curl -Lo /kubectl "https://dl.k8s.io/release/$V/bin/linux/amd64/kubectl"
FROM debian:12-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
gettext-base \
git \
jq \
&& rm -rf /var/lib/apt/lists/*
COPY --from=kubectl --chmod=0755 /kubectl /usr/local/bin/