Skip to content

Instantly share code, notes, and snippets.

@jaceju
Last active February 20, 2019 08:17
Show Gist options
  • Select an option

  • Save jaceju/4b32b55e69f690561642d173910ffcad to your computer and use it in GitHub Desktop.

Select an option

Save jaceju/4b32b55e69f690561642d173910ffcad to your computer and use it in GitHub Desktop.

Revisions

  1. jaceju revised this gist Feb 20, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .gitlab-ci.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    install-deps:
    image: php:7.2-alpine
    image: our-registry:5000/php:7.2
    stage: prepare
    script:
    - composer --no-dev install --no-scripts
  2. jaceju created this gist Feb 20, 2019.
    17 changes: 17 additions & 0 deletions .gitlab-ci.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    install-deps:
    image: php:7.2-alpine
    stage: prepare
    script:
    - composer --no-dev install --no-scripts
    artifacts:
    expire_in: 1 week
    paths:
    - vendor/

    deploy:
    image: our-registry:5000/deploy
    dependencies:
    - install-deps
    stage: deploy
    script:
    - /script/deploy-script