test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
oscar 2021-01-02 04:40:03 -05:00
parent 00575864cc
commit 59b11b80d9
2 changed files with 12 additions and 5 deletions

View File

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

View File

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