Skip to content

SCC 2024 warmup - Generate Images #6

SCC 2024 warmup - Generate Images

SCC 2024 warmup - Generate Images #6

name: SCC 2024 warmup - Generate Images
on:
workflow_call: {}
workflow_dispatch: {}
jobs:
generate:
runs-on: github-actions-cyberhero
strategy:
fail-fast: false
matrix:
include:
- name: crypto-whack-a-mole-1
context: scc2024-warmup/crypto-whack-a-mole-1/source
dockerfile: scc2024-warmup/crypto-whack-a-mole-1/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/crypto-whack-a-mole-1
- name: misc-gmq-accc
context: scc2024-warmup/misc-gmq-accc/source
dockerfile: scc2024-warmup/misc-gmq-accc/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/misc-gmq-accc
- name: misc-kalkulator
context: scc2024-warmup/misc-kalkulator/source
dockerfile: scc2024-warmup/misc-kalkulator/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/misc-kalkulator
- name: pwn-banana-shop
context: scc2024-warmup/pwn-banana-shop/source
dockerfile: scc2024-warmup/pwn-banana-shop/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/pwn-banana-shop
- name: pwn-login-form
context: scc2024-warmup/pwn-login-form/source
dockerfile: scc2024-warmup/pwn-login-form/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/pwn-login-form
- name: pwn-zork1-demo
context: scc2024-warmup/pwn-zork1-demo/source
dockerfile: scc2024-warmup/pwn-zork1-demo/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/pwn-zork1-demo
- name: web-anatomy
context: scc2024-warmup/web-anatomy/source
dockerfile: scc2024-warmup/web-anatomy/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/web-anatomy
- name: web-blind-luck
context: scc2024-warmup/web-blind-luck/source
dockerfile: scc2024-warmup/web-blind-luck/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/web-blind-luck
- name: web-flags4everyone
context: scc2024-warmup/web-flags4everyone/source
dockerfile: scc2024-warmup/web-flags4everyone/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/web-flags4everyone
- name: web-shinobi
context: scc2024-warmup/web-shinobi/source
dockerfile: scc2024-warmup/web-shinobi/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/web-shinobi
- name: web-shortnote
context: scc2024-warmup/web-shortnote/source
dockerfile: scc2024-warmup/web-shortnote/source/Dockerfile
image: registry.ctf.rs/scc2024-warmup/web-shortnote
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build & push image
uses: ./.github/actions/ctf-build-and-push-image
with:
context: ${{ matrix.context }}
dockerfile: ${{ matrix.dockerfile }}
tags: |
${{ matrix.image }}:${{ github.ref_name }}
${{ matrix.image }}:latest