diff --git a/.github/workflows/deploy_main.workflow.yml b/.github/workflows/deploy_main.workflow.yml index 3addd0e..dead1c7 100644 --- a/.github/workflows/deploy_main.workflow.yml +++ b/.github/workflows/deploy_main.workflow.yml @@ -13,7 +13,7 @@ env: jobs: push_backend: name: Backend artefact - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: @@ -32,7 +32,7 @@ jobs: username: ${{ secrets.KUZZLE_PAAS_USERNAME }} password: ${{ secrets.KUZZLE_PAAS_PASSWORD }} - name: Login PaaS - uses: kuzzleio/paas-action@v0.7.0 + uses: kuzzleio/paas-action@v0.7.3 with: username: ${{ secrets.KUZZLE_PAAS_USERNAME }} password: ${{ secrets.KUZZLE_PAAS_PASSWORD }} @@ -53,7 +53,7 @@ jobs: deploy_backend: name: Deploy backend artefact - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 needs: [push_backend] steps: - uses: actions/checkout@v2 @@ -68,7 +68,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Deploy to PaaS - uses: kuzzleio/paas-action@v0.7.0 + uses: kuzzleio/paas-action@v0.7.3 with: username: ${{ secrets.KUZZLE_PAAS_USERNAME }} password: ${{ secrets.KUZZLE_PAAS_PASSWORD }} @@ -100,7 +100,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Login PaaS - uses: kuzzleio/paas-action@v0.7.0 + uses: kuzzleio/paas-action@v0.7.3 with: username: ${{ secrets.KUZZLE_PAAS_USERNAME }} password: ${{ secrets.KUZZLE_PAAS_PASSWORD }} @@ -135,7 +135,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Deploy to PaaS - uses: kuzzleio/paas-action@v0.7.0 + uses: kuzzleio/paas-action@v0.7.3 with: username: ${{ secrets.KUZZLE_PAAS_USERNAME }} password: ${{ secrets.KUZZLE_PAAS_PASSWORD }} diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 1c573dc..11458e2 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -1,5 +1,5 @@ # Builder stage -FROM kuzzleio/kuzzle-runner:14 as builder +FROM kuzzleio/kuzzle-runner:16 as builder WORKDIR /var/app @@ -10,7 +10,7 @@ RUN npm run build RUN npm prune --production # Final image -FROM node:14-bullseye-slim +FROM node:16-bullseye-slim ARG KUZZLE_ENV="local" ARG KUZZLE_VAULT_KEY="" @@ -31,4 +31,4 @@ COPY --from=builder /var/app/environments/${KUZZLE_ENV}/secrets.enc.json /var/ap WORKDIR /var/app -CMD [ "node", "app.js" ] +CMD [ "node", "app.js" ] \ No newline at end of file