fix(workflow): revert to using docker
All checks were successful
build image / build (push) Successful in 57s

This commit is contained in:
Bruno Carlin 2025-01-05 16:39:05 +01:00
parent b008292a62
commit 475cd5a26b
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -16,22 +16,21 @@ jobs:
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install podman - name: Install docker
run: | run: apt-get update && apt-get install -y --no-install-recommends docker.io
apt-get update && apt-get install -y --no-install-recommends podman
- name: Login to registry - name: Login to registry
run: | run: |
echo ${REGISTRY_TOKEN} \ echo ${REGISTRY_TOKEN} \
| podman login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net | docker login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net
env: env:
REGISTRY_USER: ${{ vars.REGISTRY_USER }} REGISTRY_USER: ${{ vars.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
- name: Build image - name: Build image
run: | run: |
podman build -t code.bcarlin.net/oci/browsers:latest . docker build -t code.bcarlin.net/oci/browsers:latest .
- name: Push image - name: Push image
run: | run: |
podman push code.bcarlin.net/oci/browsers:latest docker push code.bcarlin.net/oci/browsers:latest