CI: fix build 1
This commit is contained in:
parent
48179db69b
commit
4b0fca68c4
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue