CI Includes get evaluated first, so DISTRO var doesnt work

This commit is contained in:
Deon George 2020-05-22 16:35:41 +10:00
parent fa81499703
commit c3985a7e86
3 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,6 @@ stages:
variables: variables:
CACHETAG: build-${VERSION} CACHETAG: build-${VERSION}
DISTRO: stretch
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
services: services:

View File

@ -1,6 +1,6 @@
armv7l:build: armv7l:build:
variables: variables:
VERSION: armv7l-${DISTRO} VERSION: armv7l-stretch
stage: build stage: build
image: docker:latest image: docker:latest
script: script:

View File

@ -1,6 +1,6 @@
x86_64:build: x86_64:build:
variables: variables:
VERSION: x86_64-${DISTRO} VERSION: x86_64-stretch
stage: build stage: build
image: docker:latest image: docker:latest
script: script: