summaryrefslogtreecommitdiff
path: root/.github/workflows/ci-cd.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci-cd.yml')
-rw-r--r--.github/workflows/ci-cd.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml
index 322d027f..3726b8c6 100644
--- a/.github/workflows/ci-cd.yml
+++ b/.github/workflows/ci-cd.yml
@@ -17,10 +17,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- - name: Set up JDK 15
- uses: actions/setup-java@v1.4.3
+ - name: Set up JDK 16
+ uses: actions/setup-java@v2
with:
- java-version: 15
+ distribution: 'zulu'
+ java-version: 16
- name: Gradle build cache
uses: actions/cache@v2
@@ -81,7 +82,7 @@ jobs:
# Short-lived credentials (5 min) to avoid accumulating tokens
- name: Setup DigitalOcean kubeconfig
run: doctl kubernetes cluster kubeconfig save --expiry-seconds 300 bro-cluster
-
+
- name: Update deployment file
run: TAG=${{ env.DOCKER_IMAGE_TAG_BUILD }} && sed -i 's|:latest|:'${TAG}'|' kubernetes/server.yml
bgstack15