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