Skip to content

updating

updating #13

Workflow file for this run

name: Challenge PR
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
test-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Check for Dockerfile
id: check_dockerfile
uses: andstor/[email protected]
with:
files: "challenges/${{ github.head_ref }}/Dockerfile"
- name: Build Docker image
if: steps.check_dockerfile.outputs.files_exists == 'true'
run: |
docker build "challenges/${{ github.head_ref }}"
- name: Check info.yaml
run: ./scripts/ctf-uploader "challenges" "defaults.yaml"