Revert to enviroinment variables on each step
This commit is contained in:
parent
09f52f3b2f
commit
51fae0bebc
1 changed files with 129 additions and 68 deletions
81
.drone.yml
81
.drone.yml
|
@ -14,8 +14,8 @@ platform:
|
|||
arch: arm64
|
||||
|
||||
steps:
|
||||
# Set global environment variables.
|
||||
# https://docs.drone.io/pipeline/environment/syntax/#per-pipeline
|
||||
- name: 4get
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
|
@ -25,8 +25,6 @@ steps:
|
|||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
- name: 4get
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
commands:
|
||||
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd ./4get/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -35,6 +33,15 @@ steps:
|
|||
|
||||
- name: Cinny
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://github.com/cinnyapp/cinny && cd ./cinny/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -43,6 +50,15 @@ steps:
|
|||
|
||||
- name: Bun
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://github.com/oven-sh/bun && cd ./bun/dockerhub/debian-slim/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -51,6 +67,15 @@ steps:
|
|||
|
||||
- name: Hyperpipe
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://codeberg.org/Hyperpipe/Hyperpipe && cd ./Hyperpipe/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -59,6 +84,15 @@ steps:
|
|||
|
||||
- name: Bin
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://github.com/w4/bin && cd ./bin/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -67,6 +101,15 @@ steps:
|
|||
|
||||
- name: Whoogle
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://github.com/benbusby/whoogle-search && cd ./whoogle-search/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -75,6 +118,15 @@ steps:
|
|||
|
||||
- name: "Araa Search"
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://github.com/Extravi/araa-search && cd ./araa-search/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -84,6 +136,15 @@ steps:
|
|||
|
||||
- name: Poke
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
environment:
|
||||
ARK_USERNAME:
|
||||
from_secret: ARK_USERNAME
|
||||
ARK_PASSWORD:
|
||||
from_secret: ARK_PASSWORD
|
||||
CODEBERG_USERNAME:
|
||||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
commands:
|
||||
- git clone https://codeberg.org/ashley/poke && cd ./poke/
|
||||
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
||||
|
@ -94,9 +155,9 @@ steps:
|
|||
- docker push codeberg.org/korbs/poke:arm64
|
||||
|
||||
# If a commit is pushed, run the pipeline.
|
||||
# trigger:
|
||||
# event:
|
||||
# include:
|
||||
# - push
|
||||
# exclude:
|
||||
# - pull_request
|
||||
trigger:
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
|
Loading…
Reference in a new issue