CI: build: fix registry login 6
Some checks failed
/ build (push) Failing after 25s

This commit is contained in:
phil 2024-10-29 03:38:14 +01:00
parent bb3c589f71
commit 423cd92565
2 changed files with 10 additions and 13 deletions

View file

@ -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 }}"

View file

@ -25,10 +25,6 @@ jobs:
run: |
echo '${{ toJSON(env) }}'
- name: check /etc/containers
run: |
find /etc/containers/
- uses: actions/checkout@v4
- name: Create venv