From 56e3999c1e78376a80657dde33e28f9536084eb9 Mon Sep 17 00:00:00 2001 From: sfja Date: Mon, 23 Mar 2026 22:13:39 +0100 Subject: [PATCH] use custom ci image --- .github/workflows/verify.yml | 2 +- backend/ci-container/Dockerfile | 3 +++ backend/ci-container/publish.sh | 10 ++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 backend/ci-container/Dockerfile create mode 100755 backend/ci-container/publish.sh diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 1ed9104..720a234 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -9,7 +9,7 @@ on: jobs: verify: runs-on: ubuntu-latest - container: gcc:15 + container: sfja/h5-mst-ci-backend steps: - uses: actions/checkout@v4 diff --git a/backend/ci-container/Dockerfile b/backend/ci-container/Dockerfile new file mode 100644 index 0000000..0c6cbd5 --- /dev/null +++ b/backend/ci-container/Dockerfile @@ -0,0 +1,3 @@ +FROM alpine:3.14 +RUN apk add gcc llvm + diff --git a/backend/ci-container/publish.sh b/backend/ci-container/publish.sh new file mode 100755 index 0000000..dd95611 --- /dev/null +++ b/backend/ci-container/publish.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +tag=sfja/h5-mst-ci-backend + +set -xe + +docker build -t $tag . + +docker push $tag +