2024-01-22 11:57:56 +00:00
|
|
|
x86_64:build:
|
2021-03-02 12:16:19 +00:00
|
|
|
variables:
|
2024-01-22 11:57:56 +00:00
|
|
|
ARCH: x86_64
|
2021-03-02 12:16:19 +00:00
|
|
|
|
2023-01-30 11:54:16 +00:00
|
|
|
stage: build
|
|
|
|
|
2021-03-02 12:16:19 +00:00
|
|
|
script:
|
2023-01-30 11:54:16 +00:00
|
|
|
- if [ -f init ]; then chmod 500 init; fi
|
|
|
|
- echo -n ${CI_COMMIT_SHORT_SHA} > VERSION
|
2023-03-25 13:16:42 +00:00
|
|
|
- rm -rf node_modules database/seeds database/schema database/factories/*
|
2024-01-22 11:57:56 +00:00
|
|
|
- docker build -f docker/Dockerfile -t ${CI_REGISTRY_IMAGE}:${VERSIONARCH} .
|
|
|
|
- docker push ${CI_REGISTRY_IMAGE}:${VERSIONARCH}
|
|
|
|
|
2023-01-30 11:54:16 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
- x86_64
|
|
|
|
only:
|
2024-01-22 11:57:56 +00:00
|
|
|
- master
|