image: "ruby:2.3" stages: - build - staging - production Buid: stage: build script: - bundle install - rake set_git_tag - rake - gem build jekyll-plantuml-url.gemspec artifacts: paths: - ./*.gem expire_in: 1 week tags: - docker Release_Staging: stage: staging script: - ls -la # - deployctl release .... need to build the website for release, who? deployd ? artifacts: paths: - ./*.gem only: - tags except: - branches tags: - docker Release_Production: stage: production environment: production script: - ls -la - gem push *.gem -k $GEM_API_PUSH only: - tags except: - branches tags: - docker when: manual