fix(ci): add credentials to drone pipeline
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7082583bd5
commit
436ea5ae9a
11
.drone.yml
11
.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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue