From 478670c1d5a14a1223b63219b458ae305aacf5ef Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Mon, 27 Mar 2023 22:37:38 +0200 Subject: [PATCH] chore: Github action to dockernize server --- .github/workflows/server-docker-build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/server-docker-build.yml diff --git a/.github/workflows/server-docker-build.yml b/.github/workflows/server-docker-build.yml new file mode 100644 index 000000000..f73dfe94f --- /dev/null +++ b/.github/workflows/server-docker-build.yml @@ -0,0 +1,21 @@ +name: push + +jobs: + image-build-and-push-webapp: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + # Login to Container registry. + - name: Log in to the Container registry + uses: docker/login-action@v1 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GH_TOKEN }} + + # Install and boostrap Lerna. + - name: Install and boostrap Lerna + working-directory: ./ + run: npm install -g lerna && npm run bootstrap \ No newline at end of file