This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Attackbox Test and Build
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths :
7+ - attack-box/**
8+ workflow_dispatch :
9+ branches : [ main ]
10+
11+ jobs :
12+
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout Code
19+ uses : actions/checkout@v2
20+ with :
21+ fetch-depth : 0
22+ - name : Set up QEMU
23+ uses : docker/setup-qemu-action@v1
24+ - name : Setup Docker Buildx
25+ uses : docker/setup-buildx-action@v1
26+ - name : Login to Docker Hub
27+ uses : docker/login-action@v1
28+ with :
29+ username : ${{ secrets.DOCKERHUB_USERNAME }}
30+ password : ${{ secrets.DOCKERHUB_TOKEN }}
31+ - name : Build and Push Docker Image
32+ uses : docker/build-push-action@v2
33+ with :
34+ context : ./attack-box
35+ platforms : linux/amd64
36+ push : true
37+ tags : ddtraining/attackbox:latest
Original file line number Diff line number Diff line change 5454 docker pull ddtraining/storefront-fixed:latest
5555 docker tag ddtraining/storefront-fixed:latest ddtraining/storefront-fixed:${{ github.event.ref }}
5656 docker push ddtraining/storefront-fixed:${{ github.event.ref }}
57+ docker pull ddtraining/attackbox:latest
58+ docker tag ddtraining/attackbox:latest ddtraining/attackbox:${{ github.event.ref }}
You can’t perform that action at this time.
0 commit comments