Skip to content

Commit

Permalink
Merge pull request #8 from kuzzleio/fix/deployment-workflow
Browse files Browse the repository at this point in the history
fix(workflow): update workflow deployment
  • Loading branch information
rolljee authored Aug 8, 2023
2 parents 60661d2 + 013edb2 commit 9f6bbac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy_main.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -32,7 +32,7 @@ jobs:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
- name: Login PaaS
uses: kuzzleio/[email protected].0
uses: kuzzleio/[email protected].3
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
Expand All @@ -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
Expand All @@ -68,7 +68,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Deploy to PaaS
uses: kuzzleio/[email protected].0
uses: kuzzleio/[email protected].3
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Login PaaS
uses: kuzzleio/[email protected].0
uses: kuzzleio/[email protected].3
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Deploy to PaaS
uses: kuzzleio/[email protected].0
uses: kuzzleio/[email protected].3
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
Expand Down
6 changes: 3 additions & 3 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder stage
FROM kuzzleio/kuzzle-runner:14 as builder
FROM kuzzleio/kuzzle-runner:16 as builder

WORKDIR /var/app

Expand All @@ -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=""
Expand All @@ -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" ]

0 comments on commit 9f6bbac

Please sign in to comment.