Files
bigcapital/.github/workflows/server-docker-build.yml
a.bouhuolia b8ce39d253 chore
2023-03-27 22:39:02 +02:00

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