diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 565c516..1636caa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Log into Docker Hub + run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin + - name: Build image run: docker build . --file Dockerfile --tag $IMAGE_NAME