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"
|
name: "Master release"
|
||||||
env:
|
env:
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
||||||
DOCKERHUB_REPOSITORY: serjs/go-socks5-proxy
|
DOCKERHUB_REPOSITORY: serjs/go-socks5-proxy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -17,9 +15,6 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
-
|
|
||||||
name: Thisdir
|
|
||||||
run: ls -la
|
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
@ -27,6 +22,12 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Print builder available platforms
|
name: Print builder available platforms
|
||||||
run: echo ${{ steps.buildx.outputs.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
|
name: Run Buildx
|
||||||
run: |
|
run: |
|
||||||
@ -34,5 +35,5 @@ jobs:
|
|||||||
--platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \
|
--platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \
|
||||||
--output "type=image,push=false" \
|
--output "type=image,push=false" \
|
||||||
--push \
|
--push \
|
||||||
--tag latest \
|
--tag $DOCKERHUB_REPOSITORY/latest \
|
||||||
.
|
.
|
||||||
|
Loading…
Reference in New Issue
Block a user