diff --git a/.drone.yml b/.drone.yml index 01708e3..7bde6f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,6 +24,20 @@ steps: commands: - 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: - name: mix temp: {} @@ -34,4 +48,4 @@ services: environment: POSTGRES_DB: decentralised_book_index_dev POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres \ No newline at end of file + POSTGRES_PASSWORD: postgres