Version file added dynamically (workaround as uv does not have this feature yet)
Tag container image with playbook Importable module with python -m treetrail
This commit is contained in:
parent
2d0b788728
commit
1693662e75
11 changed files with 66 additions and 29 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue