diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci-build.yml | 7 | ||||
-rw-r--r-- | .github/workflows/ci-cd.yml | 9 | ||||
-rw-r--r-- | .github/workflows/rollback-digitalocean.yml | 2 |
3 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 843f0dc0..a0d0a674 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -13,10 +13,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 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 diff --git a/.github/workflows/rollback-digitalocean.yml b/.github/workflows/rollback-digitalocean.yml index 2224029d..9a7beeb3 100644 --- a/.github/workflows/rollback-digitalocean.yml +++ b/.github/workflows/rollback-digitalocean.yml @@ -7,7 +7,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - name: Checkout repo + - name: Checkout repository uses: actions/checkout@v2 - name: Install doctl |