Updated GitLab CI

This commit is contained in:
Héctor Molinero Fernández 2019-09-15 10:40:22 +02:00
parent 49607d7962
commit be3bfeeba6

View File

@ -14,21 +14,21 @@ default:
- name: "docker.io/docker:dind" - name: "docker.io/docker:dind"
alias: "dockerd" alias: "dockerd"


build:images:native: build:images:
stage: "build:images" stage: "build:images"
before_script: before_script:
- "apk add --no-cache coreutils git make xz" - "apk add --no-cache coreutils git make xz"
script: script:
- "make build-native-image save-native-image" - "make build-image save-image"
artifacts: artifacts:
expire_in: "1 day" expire_in: "1 day"
paths: paths:
- "./dist/" - "./dist/"


push:images:native: push:images:
stage: "push:images" stage: "push:images"
dependencies: dependencies:
- "build:images:native" - "build:images"
only: only:
- "/^v[0-9]+$/" - "/^v[0-9]+$/"
before_script: before_script: