Dockerhub login
This commit is contained in:
parent
d9f6f04161
commit
1895ed4212
13
.github/workflows/master.yml
vendored
13
.github/workflows/master.yml
vendored
@ -1,7 +1,5 @@
|
||||
name: "Master release"
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
DOCKERHUB_REPOSITORY: serjs/go-socks5-proxy
|
||||
|
||||
on:
|
||||
@ -17,9 +15,6 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
-
|
||||
name: Thisdir
|
||||
run: ls -la
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
id: buildx
|
||||
@ -27,6 +22,12 @@ jobs:
|
||||
-
|
||||
name: Print builder available platforms
|
||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||
-
|
||||
name: Dockerhub login
|
||||
uses: azure/docker-login@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
-
|
||||
name: Run Buildx
|
||||
run: |
|
||||
@ -34,5 +35,5 @@ jobs:
|
||||
--platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \
|
||||
--output "type=image,push=false" \
|
||||
--push \
|
||||
--tag latest \
|
||||
--tag $DOCKERHUB_REPOSITORY/latest \
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user