Skip to content

Build your personal knowledge base with Trilium Notes

have DockerHub login use username secret instead

perf3ctc104475cd600
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5e7d1288fd..415a2f7fa3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -197,7 +197,7 @@ jobs:
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.DOCKERHUB_REGISTRY }}
- username: ${{ github.actor }}
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push image to DockerHub
uses: docker/build-push-action@v6