use docker --username instead of docker -u

This commit is contained in:
Fco. Javier Delgado del Hoyo 2022-08-15 10:20:22 +02:00
parent bde69eaf1a
commit 9b542daf42

View file

@ -32,7 +32,7 @@ jobs:
id: docker-tag
uses: yuya-takeyama/docker-tag-from-github-ref-action@v1
- name: Login to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build multiarch image
run: |
docker buildx build --push \