From 59b11b80d93d781a572359a9584447b26374f8c5 Mon Sep 17 00:00:00 2001 From: oscar Date: Sat, 2 Jan 2021 04:40:03 -0500 Subject: [PATCH] test --- .drone.yml | 15 +++++++++++---- Dockerfile | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1862624..2b7da1d 100644 --- a/.drone.yml +++ b/.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 diff --git a/Dockerfile b/Dockerfile index 0b42028..dd5d9da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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