Fixed how docker credentials are read from secrets

This commit is contained in:
Alejandro Celaya
2020-07-31 20:37:14 +02:00
parent a32651aab3
commit a7a69506a0
2 changed files with 2 additions and 2 deletions

View File

@@ -18,5 +18,7 @@ jobs:
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
- name: Login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build the image
run: bash ./docker/build