19 lines
417 B
YAML
19 lines
417 B
YAML
|
armv7l:build:
|
||
|
variables:
|
||
|
ARCH: armv7l
|
||
|
|
||
|
stage: build
|
||
|
|
||
|
script:
|
||
|
- if [ -f init ]; then chmod 500 init; fi
|
||
|
- echo -n ${CI_COMMIT_SHORT_SHA} > VERSION
|
||
|
- rm -rf node_modules database/seeds database/schema database/factories/*
|
||
|
- docker build -f docker/Dockerfile -t ${CI_REGISTRY_IMAGE}:${VERSIONARCH} .
|
||
|
- docker push ${CI_REGISTRY_IMAGE}:${VERSIONARCH}
|
||
|
|
||
|
tags:
|
||
|
- docker
|
||
|
- armv7l
|
||
|
only:
|
||
|
- master
|