fixed github worker with docker auth

This commit is contained in:
2025-01-27 23:03:46 -05:00
parent 475f906a5e
commit 07f5107acf

View File

@@ -30,6 +30,12 @@ jobs:
if: steps.current.outputs.version != steps.latest.outputs.version
run: echo ${{ steps.latest.outputs.version }} > version.txt
- name: Login to Dockerhub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push docker image
if: steps.current.outputs.version != steps.latest.outputs.version
uses: docker/build-push-action@v5