mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-13 11:20:31 +00:00
30 lines
698 B
YAML
30 lines
698 B
YAML
name: push
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
REGISTRY: ghcr.io
|
|
IMAGE_NAME: abouhuolia/bigcapital-webapp
|
|
|
|
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 |