Commit 8bc108a5 authored by Ralf Baussenwein's avatar Ralf Baussenwein 🐞
Browse files

Install hotifx of deployer instead of latest

parent 4d1a5bcb
......@@ -10,11 +10,11 @@ stages:
services:
- docker:stable:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build:
stage: build
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- echo "$COMPOSER_AUTH_JSON" | tr -d '\r' > auth.json
script:
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
......@@ -23,4 +23,4 @@ build:
- dind
- build
- docker
- linux
\ No newline at end of file
- linux
......@@ -7,11 +7,15 @@ RUN apk update \
# Install composer
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
COPY auth.json /root/.composer/auth.json
# Install deployer
RUN composer global require deployer/deployer --dev
RUN composer global config repositories.deployer vcs https://github.com/eikona-media/deployer
RUN composer global require deployer/deployer:"dev-hotfix/composer as 6.8.x-dev"
RUN ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep
# Install deployer recipes
RUN composer global require deployer/recipes --dev
RUN composer global require eikona-media/deployer-recipes --dev
RUN rm -rf /root/.composer/auth.json
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment