Created
August 25, 2018 19:45
-
-
Save shanesveller/fc704cfdefdd5395a50ab1870c0f184d to your computer and use it in GitHub Desktop.
Build a multi-stage Elixir project using Concourse CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- name: ex_venture | |
type: git | |
source: | |
uri: https://github.com/oestrich/ex_venture.git | |
branch: master | |
- name: ex_venture-docker-image | |
type: docker-image | |
source: | |
email: ((docker-hub-email)) | |
username: ((docker-hub-username)) | |
password: ((docker-hub-password)) | |
repository: ((docker-hub-username))/ex_venture | |
- name: elixir-docker-image | |
type: docker-image | |
source: | |
repository: elixir | |
tag: 1.7.2-alpine | |
- name: node-docker-image | |
type: docker-image | |
source: | |
repository: node | |
tag: 8.6 | |
- name: alpine-docker-image | |
type: docker-image | |
source: | |
repository: alpine | |
tag: 3.8 | |
jobs: | |
- name: publish-image | |
public: true | |
serial: true | |
plan: | |
- get: ex_venture | |
- get: elixir-docker-image | |
- get: node-docker-image | |
- get: alpine-docker-image | |
- put: ex_venture-docker-image | |
get_params: {} | |
params: | |
build: ex_venture | |
build_args: | |
APP_VERSION: '0.24.0' | |
cache_from: [] | |
dockerfile: 'ex_venture/Dockerfile' | |
tag_as_latest: true | |
target_name: builder | |
# incomplete as written |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment