Skip to content

Bump docker/build-push-action from 5.3.0 to 6.2.0 (#513) #101

Bump docker/build-push-action from 5.3.0 to 6.2.0 (#513)

Bump docker/build-push-action from 5.3.0 to 6.2.0 (#513) #101

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- uses: docker/build-push-action@15560696de535e4014efeff63c48f16952e52dd1 # v6.2.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