This commit is contained in:
Sergey Bogatyrets 2020-03-21 00:31:24 +03:00
parent cc9a977f96
commit 6870e17371

View File

@ -22,12 +22,8 @@ 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
name: Dockerhub login run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- -
name: Run Buildx name: Run Buildx
run: | run: |
@ -35,5 +31,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 "serjs/latest" \ --tag "${{ DOCKERHUB_REPOSITORY }}:latest" \
. .