freat(workflow): use podman instead of docker
Some checks failed
build image / build (push) Failing after 1m9s

This commit is contained in:
Bruno Carlin 2025-01-05 15:53:09 +01:00
parent d292afbec2
commit b008292a62
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -13,24 +13,25 @@ jobs:
build: build:
runs-on: docker runs-on: docker
steps: steps:
- uses: actions/checkout@v4 - name: Checkout the repository
- name: Install node uses: actions/checkout@v4
uses: actions/setup-node@v3
with: - name: Install podman
node-version: latest 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 Docker Hub - name: Login to registry
uses: docker/login-action@v3 run: |
with: echo ${REGISTRY_TOKEN} \
registry: code.bcarlin.net | podman login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net
username: ${{ vars.REGISTRY_USER }} env:
password: ${{ secrets.REGISTRY_TOKEN }} REGISTRY_USER: ${{ vars.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
- name: Build image - name: Build image
run: | run: |
docker build -t code.bcarlin.net/oci/browsers:latest . podman build -t code.bcarlin.net/oci/browsers:latest .
- name: Push image - name: Push image
run: | run: |
docker push code.bcarlin.net/oci/browsers:latest podman push code.bcarlin.net/oci/browsers:latest