clrghouz/.gitlab-docker-x86_64.yml

19 lines
403 B
YAML
Raw Normal View History

x86_64:build:
2021-06-13 13:23:19 +00:00
variables:
ARCH: x86_64
2021-06-13 13:23:19 +00:00
stage: build
2021-06-13 13:23:19 +00:00
script:
- if [ -f init ]; then chmod 500 init; fi
- echo -n ${CI_COMMIT_SHORT_SHA} > VERSION
2023-10-17 12:19:28 +00:00
- 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