forked from mirrors/treebird-docker
will this work? who knows
This commit is contained in:
parent
fe4311bbda
commit
3ab1b12835
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue