From 3ab1b128351a3144cd3f5278632a3e6b87bd3b92 Mon Sep 17 00:00:00 2001 From: ICScaryThings Date: Sat, 16 Jul 2022 12:04:27 -0400 Subject: [PATCH] will this work? who knows --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e20ae2b..7ff35e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,12 +9,15 @@ platform: steps: - name: build + environment: + APIKEY: + from_secret: release_api_key commands: - ./build_container.sh - mkdir images/ - docker save treebird:latest -o images/treebird-latest.tar.gz - docker save treebird:latest-build -o images/treebird-latest-build.tar.gz - - docker run --rm -e DRONE_BUILD_EVENT=tag -e PLUGIN_BASE_URL=https://git.freecumextremist.com/ -e PLUGIN_API_KEY=release_api_key -e PLUGIN_FILES=images/* -e DRONE_REPO_OWNER=icscarythings -e DRONE_REPO_NAME=treebird-docker -v $(pwd):$(pwd) -w $(pwd) plugins/gitea-release + - docker run --rm -e DRONE_BUILD_EVENT=tag -e PLUGIN_BASE_URL=https://git.freecumextremist.com/ -e PLUGIN_API_KEY=$APIKEY -e PLUGIN_FILES=images/* -e DRONE_REPO_OWNER=icscarythings -e DRONE_REPO_NAME=treebird-docker -v $(pwd):$(pwd) -w $(pwd) plugins/gitea-release #- name: Make Gitea Release # image: plugins/gitea-release