Commit ef132ad6 authored by anton's avatar anton

Add Circle CI config.yml

parent 9254ccf4
aliases:
- &install-dependencies
name: Install dependencies
command: |
apk add --update --no-cache nodejs nodejs-npm python make g++ pkgconfig libsecret-dev
npm config set unsafe-perm true
npm i -g npm
node --version
npm --version
npm i -g @quasar/cli
npm install
version: 2
jobs:
release_production:
working_directory: /app
docker:
- image: docker:stable-git
steps:
- checkout
- setup_remote_docker
- run: *install-dependencies
- run:
name: Release Production Image
command: |
set +o pipefail
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker build --no-cache -t motionbank/transcoder:latest .
docker push motionbank/transcoder:latest
workflows:
version: 2
build_pipeline:
jobs:
- release_production:
filters:
branches:
only: master
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment