diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5bdc25..d2d0fa6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ image: docker:git variables: DOCKER_REPOSITORY: mendersoftware/mender-convert - IMAGE_NAME: mender-convert MENDER_CLIENT_VERSION: '2.0.0' stages: @@ -12,7 +11,7 @@ stages: test: stage: test script: - - apk add --no-cache bash + - apk add --no-cache bash perl-utils - git clone git://github.com/mendersoftware/mendertesting # Check commit compliance. - mendertesting/check_commits.sh @@ -24,7 +23,7 @@ build: services: - docker:dind script: - - docker build -t ${IMAGE_NAME} --build-arg mender_client_version=${MENDER_CLIENT_VERSION} . + - docker build -t $DOCKER_REPOSITORY:pr --build-arg mender_client_version=${MENDER_CLIENT_VERSION} . - docker save $DOCKER_REPOSITORY:pr > image.tar artifacts: expire_in: 2w