This commit is contained in:
parent
bb3c589f71
commit
423cd92565
2 changed files with 10 additions and 13 deletions
|
@ -53,7 +53,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt-get install -y --no-install-recommends podman buildah
|
apt-get install -y --no-install-recommends podman buildah
|
||||||
|
|
||||||
- name: Build container
|
- name: Log in to container registry
|
||||||
|
uses: actions/podman-login@v1
|
||||||
|
with:
|
||||||
|
registry: ${{ vars.REGISTRY }}
|
||||||
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build container image
|
||||||
if: ${{ inputs.build }}
|
if: ${{ inputs.build }}
|
||||||
uses: actions/buildah-build@v1
|
uses: actions/buildah-build@v1
|
||||||
with:
|
with:
|
||||||
|
@ -62,14 +69,8 @@ jobs:
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
./Containerfile.for_runner
|
./Containerfile.for_runner
|
||||||
|
|
||||||
- name: Log in to container registry
|
- name: Push container image to registry
|
||||||
uses: actions/podman-login@v1
|
uses: actions/push-to-registry@v2
|
||||||
with:
|
|
||||||
registry: ${{ vars.REGISTRY }}
|
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
||||||
|
|
||||||
- uses: actions/push-to-registry@v2
|
|
||||||
if: ${{ inputs.push }}
|
if: ${{ inputs.push }}
|
||||||
with:
|
with:
|
||||||
registry: "docker://${{ vars.REGISTRY }}"
|
registry: "docker://${{ vars.REGISTRY }}"
|
||||||
|
|
|
@ -25,10 +25,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo '${{ toJSON(env) }}'
|
echo '${{ toJSON(env) }}'
|
||||||
|
|
||||||
- name: check /etc/containers
|
|
||||||
run: |
|
|
||||||
find /etc/containers/
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Create venv
|
- name: Create venv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue