From 4b0fca68c49cb23bfc33b4022d4c928ac50c4a3c Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 3 Nov 2024 03:37:24 +0100 Subject: [PATCH] CI: fix build 1 --- .forgejo/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 5d5901a..db40200 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -19,9 +19,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install app with 'uv pip install' - run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps . - - name: Git unshallow - get all history from Git to get the tag for the computation of the version run: git pull --unshallow @@ -29,10 +26,15 @@ jobs: id: version run: echo "version=$(git describe --dirty --tags)" >> $GITHUB_OUTPUT + - name: Install app with 'uv pip install' + run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps . + - name: Build the container image uses: actions/buildah-build@v1 with: image: treetrail-backend + oci: true + labels: treetrail-backend tags: ${{ steps.version.outputs.version }} containerfiles: | ./Containerfile