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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: Git unshallow - get all history from Git to get the tag for the computation of the version
|
||||||
run: git pull --unshallow
|
run: git pull --unshallow
|
||||||
|
|
||||||
|
@ -29,10 +26,15 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
run: echo "version=$(git describe --dirty --tags)" >> $GITHUB_OUTPUT
|
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
|
- name: Build the container image
|
||||||
uses: actions/buildah-build@v1
|
uses: actions/buildah-build@v1
|
||||||
with:
|
with:
|
||||||
image: treetrail-backend
|
image: treetrail-backend
|
||||||
|
oci: true
|
||||||
|
labels: treetrail-backend
|
||||||
tags: ${{ steps.version.outputs.version }}
|
tags: ${{ steps.version.outputs.version }}
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
./Containerfile
|
./Containerfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue