-m
All checks were successful
Build Runner Images / base (push) Successful in 15s
Build Runner Images / extended-latest (js) (push) Successful in 21s
Build Runner Images / extended-latest (just) (push) Successful in 22s
Build Runner Images / extended-latest (protobuf) (push) Successful in 24s
Build Runner Images / extended-latest (oas) (push) Successful in 1m13s
Build Runner Images / extended-versioned (java, 21) (push) Successful in 1m2s
Build Runner Images / extended-versioned (java, 17) (push) Successful in 1m25s
Build Runner Images / extended-versioned (lua, 5.3) (push) Successful in 30s
Build Runner Images / extended-versioned (lua, 5.4) (push) Successful in 29s
Build Runner Images / extended-versioned (java, 8) (push) Successful in 1m3s
Build Runner Images / extended-versioned (php, 8.2) (push) Successful in 23s
Build Runner Images / extended-versioned (php, 8.3) (push) Successful in 23s
Build Runner Images / extended-latest (go) (push) Successful in 2m52s
All checks were successful
Build Runner Images / base (push) Successful in 15s
Build Runner Images / extended-latest (js) (push) Successful in 21s
Build Runner Images / extended-latest (just) (push) Successful in 22s
Build Runner Images / extended-latest (protobuf) (push) Successful in 24s
Build Runner Images / extended-latest (oas) (push) Successful in 1m13s
Build Runner Images / extended-versioned (java, 21) (push) Successful in 1m2s
Build Runner Images / extended-versioned (java, 17) (push) Successful in 1m25s
Build Runner Images / extended-versioned (lua, 5.3) (push) Successful in 30s
Build Runner Images / extended-versioned (lua, 5.4) (push) Successful in 29s
Build Runner Images / extended-versioned (java, 8) (push) Successful in 1m3s
Build Runner Images / extended-versioned (php, 8.2) (push) Successful in 23s
Build Runner Images / extended-versioned (php, 8.3) (push) Successful in 23s
Build Runner Images / extended-latest (go) (push) Successful in 2m52s
This commit is contained in:
parent
45275daa44
commit
d990c79dcf
10 changed files with 136 additions and 8 deletions
|
@ -12,14 +12,14 @@ jobs:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: "actions/docker-login@v3"
|
uses: "docker/login-action@v3"
|
||||||
with:
|
with:
|
||||||
registry: git.kjan.de
|
registry: git.kjan.de
|
||||||
username: ${{ secrets.DEPLOY_USER }}
|
username: ${{ secrets.DEPLOY_USER }}
|
||||||
password: ${{ secrets.DEPLOY_SECRET }}
|
password: ${{ secrets.DEPLOY_SECRET }}
|
||||||
- name: Build and push base image
|
- name: Build and push base image
|
||||||
id: build_base
|
id: build_base
|
||||||
uses: "actions/docker-build-push@v5"
|
uses: "docker/build-push-action@v6"
|
||||||
with:
|
with:
|
||||||
context: "{{defaultContext}}:images/actions/act"
|
context: "{{defaultContext}}:images/actions/act"
|
||||||
push: true
|
push: true
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
||||||
git.kjan.de/actions/runner-basic:${{ github.run_number }}
|
git.kjan.de/actions/runner-basic:${{ github.run_number }}
|
||||||
|
|
||||||
extended-latest:
|
extended-latest:
|
||||||
runs-on: "docker"
|
runs-on: "ubuntu-latest"
|
||||||
needs:
|
needs:
|
||||||
- base
|
- base
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -36,14 +36,14 @@ jobs:
|
||||||
language: ["go", "js", "protobuf", "oas", "just"]
|
language: ["go", "js", "protobuf", "oas", "just"]
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: "actions/docker-login@v3"
|
uses: "docker/login-action@v3"
|
||||||
with:
|
with:
|
||||||
registry: git.kjan.de
|
registry: git.kjan.de
|
||||||
username: ${{ secrets.DEPLOY_USER }}
|
username: ${{ secrets.DEPLOY_USER }}
|
||||||
password: ${{ secrets.DEPLOY_SECRET }}
|
password: ${{ secrets.DEPLOY_SECRET }}
|
||||||
|
|
||||||
- name: Build and push ${{ matrix.language }} image
|
- name: Build and push ${{ matrix.language }} image
|
||||||
uses: "actions/docker-build-push@v5"
|
uses: "docker/build-push-action@v6"
|
||||||
with:
|
with:
|
||||||
context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
|
context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
|
||||||
push: true
|
push: true
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
||||||
git.kjan.de/actions/runner-${{ matrix.language }}:${{ github.run_number }}
|
git.kjan.de/actions/runner-${{ matrix.language }}:${{ github.run_number }}
|
||||||
|
|
||||||
extended-versioned:
|
extended-versioned:
|
||||||
runs-on: "docker"
|
runs-on: "ubuntu-latest"
|
||||||
needs:
|
needs:
|
||||||
- base
|
- base
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -74,14 +74,14 @@ jobs:
|
||||||
version: 21
|
version: 21
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: "actions/docker-login@v3"
|
uses: "docker/login-action@v3"
|
||||||
with:
|
with:
|
||||||
registry: git.kjan.de
|
registry: git.kjan.de
|
||||||
username: ${{ secrets.DEPLOY_USER }}
|
username: ${{ secrets.DEPLOY_USER }}
|
||||||
password: ${{ secrets.DEPLOY_SECRET }}
|
password: ${{ secrets.DEPLOY_SECRET }}
|
||||||
|
|
||||||
- name: Build and push ${{ matrix.language }} {{ matrix.version }} image
|
- name: Build and push ${{ matrix.language }} {{ matrix.version }} image
|
||||||
uses: "actions/docker-build-push@v5"
|
uses: "docker/build-push-action@v6"
|
||||||
with:
|
with:
|
||||||
context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
|
context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
|
||||||
push: true
|
push: true
|
||||||
|
|
8
images/actions/go/Dockerfile
Normal file
8
images/actions/go/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache "go"
|
||||||
|
RUN go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
|
RUN go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
|
||||||
|
#RUN go install github.com/miekg/gotmplfmt@latest
|
||||||
|
|
||||||
|
ENV PATH="$PATH:/home/runner/go/bin"
|
4
images/actions/java/Dockerfile
Normal file
4
images/actions/java/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
ARG PACKAGE_VERSION
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache "openjdk$PACKAGE_VERSION" maven gradle libxml2-utils
|
3
images/actions/js/Dockerfile
Normal file
3
images/actions/js/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache "npm"
|
3
images/actions/just/Dockerfile
Normal file
3
images/actions/just/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache just
|
13
images/actions/lua/Dockerfile
Normal file
13
images/actions/lua/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
ARG PACKAGE_VERSION
|
||||||
|
|
||||||
|
RUN release_info=$(curl -s https://api.github.com/repos/LuaLS/lua-language-server/releases/latest) \
|
||||||
|
&& download_url=$(echo "$release_info" | jq -r '.assets[] | select(.name | endswith("linux-x64-musl.tar.gz")) | .browser_download_url') \
|
||||||
|
&& curl -LO "$download_url" \
|
||||||
|
&& tar_file=$(basename "$download_url") \
|
||||||
|
&& mkdir /opt/lua-language-server \
|
||||||
|
&& tar -xf "$tar_file" -C /opt/lua-language-server \
|
||||||
|
&& rm -rf "$tar_file"
|
||||||
|
ENV PATH="/opt/lua-language-server/bin:${PATH}"
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache "lua$PACKAGE_VERSION" "luarocks$PACKAGE_VERSION" stylua luacheck
|
4
images/actions/oas/Dockerfile
Normal file
4
images/actions/oas/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM git.kjan.de/actions/runner-js:latest
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache py3-openapi-spec-validator
|
||||||
|
RUN sudo npm install -g swagger-cli @redocly/cli@latest
|
16
images/actions/php/Dockerfile
Normal file
16
images/actions/php/Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
ARG PACKAGE_VERSION
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
version=$(echo $PACKAGE_VERSION | tr -d .) \
|
||||||
|
&& curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.alpine.sh' | sudo -E bash \
|
||||||
|
&& sudo apk add --no-cache \
|
||||||
|
composer \
|
||||||
|
"php${version}" \
|
||||||
|
"php${version}-xml" \
|
||||||
|
"php${version}-simplexml" \
|
||||||
|
"php${version}-tokenizer" \
|
||||||
|
"php${version}-xmlwriter" \
|
||||||
|
"php${version}-dom" \
|
||||||
|
"php${version}-ctype" \
|
||||||
|
symfony-cli
|
3
images/actions/protobuf/Dockerfile
Normal file
3
images/actions/protobuf/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM git.kjan.de/actions/runner-basic:latest
|
||||||
|
|
||||||
|
RUN sudo apk add --no-cache protobuf
|
74
images/actions/redot/Dockerfile
Normal file
74
images/actions/redot/Dockerfile
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
FROM alpine:latest AS build-stage
|
||||||
|
|
||||||
|
ARG PACKAGE_VERSION
|
||||||
|
|
||||||
|
RUN apk add --no-cache curl
|
||||||
|
|
||||||
|
RUN wget $( \
|
||||||
|
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \
|
||||||
|
| grep "browser_download_url.*Redot_v.*-stable_export_templates\.tpz" \
|
||||||
|
| cut -d '"' -f 4 - \
|
||||||
|
| head -n 1 \
|
||||||
|
) -O Redot_Export_Templates.tbz
|
||||||
|
|
||||||
|
RUN unzip Redot_Export_Templates.tbz
|
||||||
|
|
||||||
|
RUN rm -f templates/*debug*
|
||||||
|
|
||||||
|
RUN rm Redot_Export_Templates.tbz
|
||||||
|
|
||||||
|
FROM git.euph.dev/actions/runner-basic-glib:latest AS final-stage
|
||||||
|
|
||||||
|
ARG PACKAGE_VERSION
|
||||||
|
|
||||||
|
# fontconfig and eudev-dev are not needed in ci, and will segfault
|
||||||
|
RUN sudo apk add --no-cache \
|
||||||
|
scons \
|
||||||
|
pkgconf \
|
||||||
|
gcc \
|
||||||
|
g++ \
|
||||||
|
libx11-dev \
|
||||||
|
libxcursor-dev \
|
||||||
|
libxinerama-dev \
|
||||||
|
libxi-dev \
|
||||||
|
libxrandr-dev \
|
||||||
|
mesa-dev \
|
||||||
|
alsa-lib-dev \
|
||||||
|
pulseaudio-dev \
|
||||||
|
pipx
|
||||||
|
|
||||||
|
RUN pipx install "gdtoolkit==$PACKAGE_VERSION.*"
|
||||||
|
|
||||||
|
ENV PATH="$PATH:/home/runner/.local/bin"
|
||||||
|
|
||||||
|
RUN wget $( \
|
||||||
|
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \
|
||||||
|
| grep "browser_download_url.*Redot_v.*-stable_linux\.x86_64\.zip" \
|
||||||
|
| cut -d '"' -f 4 - \
|
||||||
|
| head -n 1 \
|
||||||
|
) -O Redot.zip \
|
||||||
|
&& sudo unzip Redot.zip \
|
||||||
|
&& sudo mv ./Redot_v*-stable_linux.x86_64 /usr/local/bin/redot \
|
||||||
|
&& rm Redot.zip
|
||||||
|
|
||||||
|
RUN mkdir -p /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable
|
||||||
|
COPY --from=build-stage /templates/android_release.apk /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/android_source.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/ios.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/linux_release.arm32 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/linux_release.arm64 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/linux_release.x86_32 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/linux_release.x86_64 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/macos.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/version.txt /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/web_dlink_nothreads_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/web_dlink_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/web_nothreads_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/web_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/windows_release_arm64_console.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/windows_release_arm64.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/windows_release_x86_32_console.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/windows_release_x86_32.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/windows_release_x86_64_console.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
COPY --from=build-stage /templates/windows_release_x86_64.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue