will this work? who knows

This commit is contained in:
ICScaryThings 2022-07-16 12:04:27 -04:00
parent fe4311bbda
commit 3ab1b12835

View file

@ -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