Update docker.yml

This commit is contained in:
Izuco 2022-07-28 15:03:58 +02:00
parent 9b4b968730
commit 663fe567ef
No known key found for this signature in database
GPG key ID: E9CBE9E4EF3A1BFA

View file

@ -19,7 +19,7 @@ jobs:
id: buildx id: buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Login to DockerHub - name: Login to DockerHub
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/master' }}
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
@ -28,7 +28,7 @@ jobs:
uses: docker/build-push-action@v2.9.0 uses: docker/build-push-action@v2.9.0
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
push: ${{ github.ref == 'refs/heads/main' }} push: ${{ github.ref == 'refs/heads/master' }}
tags: | tags: |
"izuco/multi-downloader-nx:latest" "izuco/multi-downloader-nx:latest"
- name: Image digest - name: Image digest