alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

commit 855d363fd43184bbf4621effe9a687a08bddf08d
parent bcee846d9cbb9c413d995265edd10c1860e7cd33
Author: emmett1 <emmett1.2miligrams@protonmail.com>
Date:   Thu, 20 Nov 2025 04:50:51 +0100

Update .woodpecker.yml

Diffstat:
M.woodpecker.yml | 58+++++++++++++---------------------------------------------
1 file changed, 13 insertions(+), 45 deletions(-)

diff --git a/.woodpecker.yml b/.woodpecker.yml @@ -1,6 +1,6 @@ steps: publish: - image: alpine:edge + image: docker:20.10 # Docker CLI image to enable docker login & pull environment: DOCKER_USER: from_secret: DOCKER_USER @@ -11,53 +11,21 @@ steps: CBTOKEN: from_secret: "codeberg_token" commands: - # Authenticate to Docker Hub so future pulls succeed + # Login to Docker Hub - echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin - # Install required packages - - apk add --no-cache git curl bash + # Pull Alpine after login (authenticated) + - docker pull alpine:edge - # Run build script - - cd website - - chmod +x ./build.sh - - ./build.sh + # Run build inside Alpine container + - docker run --rm -v $PWD:/workspace -w /workspace alpine:edge sh -c " + apk add --no-cache git curl bash && + cd website && + chmod +x ./build.sh && + ./build.sh + " - # Configure git + # Git config and push steps remain the same - git config --global user.email "$${CBMAIL}" - git config --global user.name "Woodpecker CI" - - # Push to pages branch - - git clone -b pages https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../public/. ../.domains . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - cd .. - - rm -rf $CI_REPO_NAME - - # Push to core branch - - git clone -b core https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../repos/core/. . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - cd .. - - rm -rf $CI_REPO_NAME - - # Push to extra branch - - git clone -b extra https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../repos/extra/. . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - cd .. - - rm -rf $CI_REPO_NAME - - when: - event: [push] + # ... rest of git clone/push commands