File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Push Docker Images
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout repository
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Set up Docker Buildx
17
+ uses : docker/setup-buildx-action@v2
18
+
19
+ - name : Log in to DockerHub
20
+ uses : docker/login-action@v2
21
+ with :
22
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
24
+
25
+ - name : Build and push Docker image
26
+ uses : docker/build-push-action@v5
27
+ with :
28
+ context : .
29
+ push : true
30
+ tags : pwncollege/challenge-injection:latest
Original file line number Diff line number Diff line change 1
1
id : content-injection
2
2
name : Content Injection
3
3
type : private
4
- image : pwncollege/challenge-legacy
4
+ image : pwncollege/challenge-injection
5
5
modules :
6
6
- id : csv
7
7
- id : yaml
You can’t perform that action at this time.
0 commit comments