diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 206ab0b..a03e263 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,6 +27,7 @@ jobs: - name: Log in to DockerHub uses: docker/login-action@v3 with: + registry: ${{ secrets.DOCKER_REGISTRY }} username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push @@ -34,5 +35,4 @@ jobs: with: push: true tags: | - ${{ secrets.DOCKER_USERNAME }}/${{ env.APP_NAME }}:${{ steps.commit.outputs.short }} - ${{ secrets.DOCKER_USERNAME }}/${{ env.APP_NAME }}:latest \ No newline at end of file + ${{ secrets.DOCKER_REGISTRY }}/${{ env.APP_NAME }}:latest \ No newline at end of file