diff --git a/.drone.yml b/.drone.yml index f0b8b6e..11f8403 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,12 +3,8 @@ kind: pipeline type: docker name: default environment: - CI_REGISTRY: "git.valvin.fr" - CI_REGISTRY_USER: "valvin" CI_REGISTRY_IMAGE: "git.valvin.fr/valvin/gemini-agate-image" IMAGE_TAG: "latest" - CI_REGISTRY_PASSWORD: - from_secret: CI_REGISTRY_PASSWORD steps: - name: test_build_image @@ -21,6 +17,13 @@ steps: - pull_request - name: build_image_and_push image: gcr.io/kaniko-project/executor:v1.7.0-debug + environment: + CI_REGISTRY: + from_secret: registry_url + CI_REGISTRY_USER: + from_secret: registry_user + CI_REGISTRY_PASSWORD: + from_secret: registry_password commands: - echo "init registry credentials" - echo $DRONE_WORKSPACE diff --git a/README.md b/README.md index 40ecdba..07859f2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Gemini Agate Image +[![Build Status](https://drone.valvin.fr/api/badges/valvin/gemini-agate-image/status.svg)](https://drone.valvin.fr/valvin/gemini-agate-image) + This image allowes to publish static content locate in a git repository on [Gemini](https://gemini.circumlunar.space/). Based on [Agate](https://github.com/mbrubeck/agate) gemini server. This images takes these environment variables: