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