From a21ebf7b23e5c3336cc003fcaa34e7e4ddf3e27e Mon Sep 17 00:00:00 2001 From: Sergey Bogatyrets Date: Sat, 21 Mar 2020 00:04:10 +0300 Subject: [PATCH] Trying to push into Dockerhub --- .github/workflows/{main.yml => master.yml} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename .github/workflows/{main.yml => master.yml} (76%) diff --git a/.github/workflows/main.yml b/.github/workflows/master.yml similarity index 76% rename from .github/workflows/main.yml rename to .github/workflows/master.yml index 553a76b..4507617 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/master.yml @@ -1,11 +1,14 @@ -name: buildx +name: "Master release" +env: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} + DOCKERHUB_REPOSITORY: serjs/go-socks5-proxy on: pull_request: branches: master push: branches: master - tags: jobs: buildx: @@ -30,4 +33,5 @@ jobs: docker buildx build \ --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \ --output "type=image,push=false" \ + --push .