Skip to content

Update docker-image.yml #11

Update docker-image.yml

Update docker-image.yml #11

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 the Docker image
run: docker build . --file ./.devcontainer/Dockerfile --tag shift2sdv:$(date +%s) --target dev
- name: Run tests in Docker container
run: |
# Run pytest inside the Docker container
docker run --rm shift2sdv:$(date +%s) pytest