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 : " Build docker container image"
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - develop
8+ - main
9+ paths :
10+ - ' oxybox/src/**'
11+ - ' .github/workflows/BUILD_AND_DEPLOY.yml'
12+ pull_request :
13+ branches :
14+ - develop
15+ - main
16+ paths :
17+ - ' oxybox/src/**'
18+ - ' .github/workflows/BUILD_AND_DEPLOY.yml'
19+
20+ jobs :
21+ # validate that the docker image is built.
22+ # will only scan for vulnerabilities and push to acr on push events
23+ docker-build :
24+ name : Build docker image
25+ runs-on : baseflow-runner
26+ steps :
27+ - uses : actions/checkout@v4
28+ name : Checkout
29+ - uses : Baseflow/github-actions/docker@main
30+ name : Build docker image
31+ with :
32+ username : ${{ secrets.BASEFLOW_ACR_USERNAME }}
33+ password : ${{ secrets.BASEFLOW_ACR_PASSWORD }}
34+ push : ${{ github.event_name != 'pull_request' }}
35+ vulnerability_scan : ${{ github.event_name != 'pull_request' }}
36+ version : 1.0
37+ context : ./oxybox
You can’t perform that action at this time.
0 commit comments