build(ci): build edge tag for master branch #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches-ignore: ["master"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: redhat-actions/[email protected] | |
with: | |
containerfiles: ./Dockerfile | |
image: localhost/vlmcsd | |
- 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 |