Skip to content

Commit 6696c3c

Browse files
committed
Build and publish the sandbox docker image
1 parent 711dcfd commit 6696c3c

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
- demo
8+
- sandbox-build
89
workflow_dispatch:
910

1011
jobs:
@@ -14,13 +15,22 @@ jobs:
1415
with:
1516
app-name: server-doj
1617
tag-name: ${{ github.ref_name }}
17-
deploy-key: "${{ github.ref_name == 'main' && 'dev' || 'demo' }}"
18-
#deploy-key: dev
18+
#deploy-key: "${{ github.ref_name == 'main' && 'dev' || 'demo' }}"
19+
deploy-key: dev
20+
21+
build-image-sandbox:
22+
uses: ./.github/workflows/_docker-build-image.yml
23+
secrets: inherit
24+
with:
25+
app-name: sandbox
26+
tag-name: ${{ github.ref_name }}
27+
#deploy-key: "${{ github.ref_name == 'main' && 'dev' || 'demo' }}"
28+
deploy-key: dev
1929

2030
deploy:
2131
needs: [build-image-doj]
2232
uses: ./.github/workflows/_terraform-apply.yml
2333
secrets: inherit
2434
with:
25-
deploy-env: ${{ github.ref_name }}
26-
#deploy-env: main
35+
#deploy-env: ${{ github.ref_name }}
36+
deploy-env: main

0 commit comments

Comments
 (0)