Skip to content

fix(ci): enhance compatibility with buildah #146

fix(ci): enhance compatibility with buildah

fix(ci): enhance compatibility with buildah #146

Workflow file for this run

name: Build Container
on:
push:
branches-ignore: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- run: |
sudo apt-get update
sudo apt-get --only-upgrade -y install buildah podman
- uses: redhat-actions/buildah-build@v2.13
with:
image: localhost/vlmcsd
tags: latest
containerfiles: ./Dockerfile
- run: podman run --rm localhost/vlmcsd:latest -V
- name: Run and test containers
run: |
podman run -d --name vlmcsd localhost/vlmcsd:latest
podman exec vlmcsd /usr/bin/vlmcs 0.0.0.0:1688
podman rm -f vlmcsd