From 8b16dd900d5a2710be89174c6fe82e3de6a157bb Mon Sep 17 00:00:00 2001 From: dzu Date: Thu, 5 Feb 2026 20:18:48 +0000 Subject: [PATCH 1/2] fix the alpine image version --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14ab8f8..667fa65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ -FROM git.dzuchun.ing/actions/alpine:latest AS builder +ARG ALPINE_VERSION=1.0.0-alpine-3.23.3 + +FROM git.dzuchun.ing/actions/alpine:$ALPINE_VERSION AS builder # install docker cli RUN apk add --no-cache docker-cli; apk cache clean # add separate step to avoid making layers -FROM git.dzuchun.ing/actions/alpine:latest +FROM git.dzuchun.ing/actions/alpine:$ALPINE_VERSION COPY --from=builder . . From 5da5d6dd7483a2fed32854c9e969c55c2d27beee Mon Sep 17 00:00:00 2001 From: dzu Date: Thu, 5 Feb 2026 20:19:41 +0000 Subject: [PATCH 2/2] add container build and upload action --- .forgejo/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .forgejo/workflows/build.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..447b6ee --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,19 @@ +name: Upload the container + +on: + workflow_dispatch: + push: + + +jobs: + build-and-upload: + runs-on: docker + steps: + - name: Checkout code + uses: https://git.dzuchun.ing/actions/checkout@v1 + + - name: Build and push the image + uses: https://git.dzuchun.ing/actions/container-upload@v0.4.2 + with: + registry-user: actions + token: ${{ secrets.REGISTRY_PAT }}