Version file added dynamically (workaround as uv does not have this feature yet)
All checks were successful
/ test (push) Successful in 17s
/ build (push) Successful in 19s

Tag container image with playbook
Importable module with python -m treetrail
This commit is contained in:
phil 2024-11-04 03:58:58 +01:00
parent 2d0b788728
commit 1693662e75
11 changed files with 66 additions and 29 deletions

View file

@ -84,6 +84,8 @@ jobs:
- name: Build the container image
if: fromJSON(steps.builder.outputs.run)
uses: actions/buildah-build@v1
env:
VERSION: ${{ steps.version.outputs.version }}
with:
image: treetrail-backend
oci: true
@ -91,6 +93,8 @@ jobs:
tags: ${{ steps.version.outputs.version }}
containerfiles: |
./Containerfile
build-arg: |
"VERSION=$VERSION"
- name: Push the image to the registry
if: fromJSON(steps.builder.outputs.run)