CI: fix build 3
This commit is contained in:
parent
4b0fca68c4
commit
8a4c64775a
1 changed files with 10 additions and 10 deletions
|
@ -29,16 +29,6 @@ jobs:
|
||||||
- name: Install app with 'uv pip install'
|
- name: Install app with 'uv pip install'
|
||||||
run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps .
|
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
|
|
||||||
|
|
||||||
- name: Workaround for bug of podman-login
|
- name: Workaround for bug of podman-login
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.docker
|
mkdir -p $HOME/.docker
|
||||||
|
@ -52,6 +42,16 @@ jobs:
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
auth_file_path: /tmp/auth.json
|
auth_file_path: /tmp/auth.json
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
- name: Push the image to the registry
|
- name: Push the image to the registry
|
||||||
uses: actions/push-to-registry@v2
|
uses: actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue