frontlinersnl / front-end-build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bitbucket-pipelines front-end-build

logo

Docker image to automate front-end builds on bitbucket (and local)

Comes preinstalled with Firefox and Chromium for (unit)-testing during build. Also sonar-scanner is installed to enable sonar analyzing

Instructions

  1. update dockerfile

  2. build local version:

    npm run build
  3. push new version to dockerhub:

    npm run push
  4. tag and push again (optional but recommended):

    npm run publish

Usage

image: inforitnl/front-end-build

pipelines:
  default:
    - step:
        script:
          - /front-end-build.sh

scripts

Command Description
build build the container with latest tag
push pushes the container

About

License:MIT License


Languages

Language:Dockerfile 60.7%Language:Shell 39.3%