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

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

View file

@ -13,19 +13,20 @@ jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v3
with:
node-version: latest
- run: apt-get update && apt-get install -y --no-install-recommends docker.io
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: code.bcarlin.net
username: ${{ vars.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install podman
run: |
apt-get update && apt-get install -y --no-install-recommends podman
- name: Login to registry
run: |
echo ${REGISTRY_TOKEN} \
| podman login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net
env:
REGISTRY_USER: ${{ vars.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
- name: Build image
run: |