Skip to content

Remove Vue

Remove Vue #32

Workflow file for this run

name: Build and push branch image
on:
push:
branches-ignore:
- 'master'
- 'i18n'
jobs:
build-push-branch:
container:
image: ghcr.io/lolibrary/builder
credentials:
username: ${{ github.actor }}
password: ${{ secrets.PAT }}
runs-on: ubuntu-latest
steps:
- name: Checkout build tools
uses: actions/checkout@v2
with:
repository: lolibrary/build
token: ${{ secrets.PAT }}
- name: Checkout Sakura
uses: actions/checkout@v2
with:
path: cache
- name: GHCR login
uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.PAT }}
registry: ghcr.io
- name: Install PHP dependencies
run: |
composer config http-basic.nova.laravel.com ${{ secrets.NOVA_USERNAME }} ${{ secrets.NOVA_API_KEY }} --no-interaction --working-dir cache
COMPOSER_MEMORY_LIMIT=-1 composer install --no-interaction --working-dir cache
- name: Install JS dependencies
run: npm install --prefix cache
- name: Build App
run: npm run development --prefix cache
- name: Docker Build & Push
run: |
docker build -t $DOCKER_SHA_TAG .
docker push $DOCKER_SHA_TAG
env:
DOCKER_SHA_TAG: "ghcr.io/lolibrary/sakura:${{ github.sha }}"
PROJECT_ID: ${{ secrets.GCLOUD_PROJECT_ID }}