mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
chore: Github action to dockernize server
This commit is contained in:
21
.github/workflows/server-docker-build.yml
vendored
Normal file
21
.github/workflows/server-docker-build.yml
vendored
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user