This commit is contained in:
parent
9fdaa03f7b
commit
0393e50fc7
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,11 @@ jobs:
|
||||||
- name: Run basic test (bootstrap)
|
- name: Run basic test (bootstrap)
|
||||||
run: pytest -s tests/basic.py
|
run: pytest -s tests/basic.py
|
||||||
|
|
||||||
|
- name: Install podman and buildah
|
||||||
|
if: ${{ inputs.build }}
|
||||||
|
run: |
|
||||||
|
apt-get install -y podman buildah
|
||||||
|
|
||||||
- name: Build container
|
- name: Build container
|
||||||
if: ${{ inputs.build }}
|
if: ${{ inputs.build }}
|
||||||
uses: actions/buildah-build@v1
|
uses: actions/buildah-build@v1
|
||||||
|
@ -53,6 +58,7 @@ jobs:
|
||||||
./Containerfile.for_runner
|
./Containerfile.for_runner
|
||||||
|
|
||||||
- uses: actions/push-to-registry@v2
|
- uses: actions/push-to-registry@v2
|
||||||
|
if: ${{ inputs.build }}
|
||||||
with:
|
with:
|
||||||
registry: "docker://${{ vars.REPOSITORY }}"
|
registry: "docker://${{ vars.REPOSITORY }}"
|
||||||
image: treetrail-backend
|
image: treetrail-backend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue