From 712615fd1e2247bdea03e4f17bf0b636e18f0522 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin <3679080+adr1enbe4udou1n@users.noreply.github.com> Date: Mon, 2 Jun 2025 22:54:55 +0200 Subject: [PATCH] init stage0 --- .gitea/workflows/stage0.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/stage0.yaml b/.gitea/workflows/stage0.yaml index 15ff664..0464da9 100644 --- a/.gitea/workflows/stage0.yaml +++ b/.gitea/workflows/stage0.yaml @@ -3,6 +3,22 @@ on: branches: - main +inputs: + registry: + description: "Server address of Docker registry." + default: ${{ vars.CONTAINER_REGISTRY }} + username: + description: "Username used to log against the Docker registry" + default: ${{ vars.CONTAINER_REGISTRY_USERNAME }} + password: + description: "Password or personal access token used to log against the Docker registry" + required: true + release: + description: "Auto incrementing release number according to semver" + default: "false" + gitea-token: + description: "Gitea token to create a release" + jobs: build: runs-on: ubuntu-latest @@ -12,6 +28,8 @@ jobs: git config --global advice.detachedHead false git clone --branch 2025.02.0 --depth 1 https://codeberg.org/stagex/stagex.git $GITHUB_WORKSPACE - name: Build + with: + password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} run: | - ls - make registry-bootstrap-stage0 REGISTRY_USERNAME=gitea.okami101.io/okami101/stagex + echo $CONTAINER_REGISTRY_PASSWORD + # make registry-bootstrap-stage0 REGISTRY_USERNAME=gitea.okami101.io/okami101/stagex