Compare commits
2
Commits
99188454e9
...
045faf59a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
045faf59a4 | ||
|
|
152bee732f |
+15
-1
@@ -24,6 +24,20 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mix test
|
- mix test
|
||||||
|
|
||||||
|
- name: build the image
|
||||||
|
image: plugins/kaniko
|
||||||
|
settings:
|
||||||
|
username: kklochko
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
repo: git.kklochko.space/kklochko/decentralised_book_index
|
||||||
|
registry: git.kklochko.space
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: mix
|
- name: mix
|
||||||
temp: {}
|
temp: {}
|
||||||
@@ -34,4 +48,4 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: decentralised_book_index_dev
|
POSTGRES_DB: decentralised_book_index_dev
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ defmodule DecentralisedBookIndex.MixProject do
|
|||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
app: :decentralised_book_index,
|
app: :decentralised_book_index,
|
||||||
version: "0.1.0",
|
version: "1.0.0",
|
||||||
elixir: "~> 1.14",
|
elixir: "~> 1.14",
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
|
|||||||
Reference in New Issue
Block a user