Skip to content

[pre-commit.ci] pre-commit autoupdate #90

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #90

Workflow file for this run

name: Docker-based Testing Suite
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
context: .
file: "Dockerfile"
tags: localpytest:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
push: false
- uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3.0.0
with:
image: localpytest:latest
options: -p 9099:9099
run: |
raven-wps start -b 0.0.0.0 -c /code/etc/demo.cfg -d
sleep 2s
raven-wps status
raven-wps stop