build: add build workflow for web basics session #7
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 Web Basics Drills Workflow | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
paths: | |
- "chapters/web-application-security/web-basics/drills/**" | |
jobs: | |
build-cockroack: | |
name: Build cockroach drill | |
uses: open-education-hub/actions/.github/workflows/build.yml@main | |
with: | |
makefile: "chapters/web-application-security/web-basics/drills/cockroach/deploy" | |
dockerfile: "chapters/web-application-security/web-basics/drills/cockroach/deploy/Dockerfile" | |
context: "chapters/web-application-security/web-basics/drills/cockroach" | |
image: "web-basics/cockroach" | |
image_tag: "latest" |