Skip to content

Update docker-image.yml #14

Update docker-image.yml

Update docker-image.yml #14

Workflow file for this run

name: Docker Image CI
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and Run Docker container with pytest
run: |
# Build the Docker image
docker build . --file ./.devcontainer/Dockerfile --tag shift2sdv:latest --target dev
docker images
# Run pytest in the built container
docker run --rm shift2sdv:latest pytest