File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
actions/build-docker-image Expand file tree Collapse file tree 2 files changed +30
-1
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
34- run : ./cli build-and-push ${{ inputs.image }} ${{ steps.version-generator.outputs.IMAGE_VERSION }}
38+ run : ./cli build-and-push " ${{ inputs.image }}" " ${{ steps.version-generator.outputs.IMAGE_VERSION }}"
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+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v2
21+
22+ - name : Build and push Docker image
23+ uses : ./.github/actions/build-docker-image
24+ with :
25+ image : api
You can’t perform that action at this time.
0 commit comments