File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : springduck
2+ on :
3+ push :
4+ paths :
5+ - ./0ctf2025
6+ - .github/workflows/0ctf2025-springduck.yaml
7+
8+ env :
9+ REGISTRY : ghcr.io
10+ IMAGE_NAME : ${{ github.repository }}
11+
12+ jobs :
13+ docker :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Login to GitHub Container Registry
17+ uses : docker/login-action@v3
18+ with :
19+ registry : ghcr.io
20+ username : ${{ github.actor }}
21+ password : ${{ secrets.GITHUB_TOKEN }}
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v3
24+ - name : Build and push
25+ uses : docker/build-push-action@v6
26+ with :
27+ platforms : linux/amd64,linux/arm64
28+ push : true
29+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:0ctf2025-springduck
30+ context : ./0ctf2025/springduck/challenge
31+ file : .//0ctf2025/springduck/challenge/Dockerfile
Original file line number Diff line number Diff line change 11[ 中文] ( readme_cn.md )
22
3- [ English] ( readme_en.md )
3+ [ English] ( readme_en.md )
4+
5+ [ Challenge Docker] ( https://github.com/zsxsoft/my-ctf-challenges/pkgs/container/fava-management )
You can’t perform that action at this time.
0 commit comments