This commit is contained in:
parent
00575864cc
commit
59b11b80d9
15
.drone.yml
15
.drone.yml
@ -4,15 +4,22 @@ name: default
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- test
|
||||
|
||||
environment:
|
||||
FRP_VERSION: 0.34.3
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: tag
|
||||
image: alpine
|
||||
commands:
|
||||
- echo -n "$FRP_VERSION,0.1.0" > .tags
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: quackerd/frp
|
||||
tags: latest
|
||||
repo: quackerd/private_test
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
FROM alpine
|
||||
|
||||
ENV FRP_VERSION 0.34.3
|
||||
ARG FRP_VERSION
|
||||
ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.tar.gz
|
||||
|
||||
WORKDIR /opt/frp
|
||||
|
Loading…
Reference in New Issue
Block a user