File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
actions/build-docker-image Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 2828 shell : bash
2929 run : echo ${{ env.ORACLE_DOCKER_PASSWORD }} | docker login sjc.ocir.io -u ${{ env.ORACLE_DOCKER_USERNAME }} --password-stdin
3030
31+ - name : test checkpoint
32+ shell : bash
33+ run : echo "TEST CHECKPOINT"
34+
3135 - name : Build and push docker image
3236 shell : bash
3337 working-directory : ./scripts
Original file line number Diff line number Diff line change 1+ name : Build Docker Images
2+
3+ on :
4+ push :
5+ workflow_dispatch :
6+
7+ env :
8+ ORACLE_DOCKER_USERNAME : ${{ secrets.ORACLE_DOCKER_USERNAME }}
9+ ORACLE_DOCKER_PASSWORD : ${{ secrets.ORACLE_DOCKER_PASSWORD }}
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ image : [api, frontend, data-sink-worker]
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v3
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v2
24+
25+ - name : Build and push Docker image
26+ uses : ./.github/actions/build-docker-image
27+ with :
28+ image : ${{ matrix.image }}
You can’t perform that action at this time.
0 commit comments