19 lines
400 B
YAML
19 lines
400 B
YAML
|
arm64:build:
|
||
|
variables:
|
||
|
ARCH: arm64
|
||
|
|
||
|
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
|
||
|
- arm64
|
||
|
only:
|
||
|
- master
|