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