Fixing docker login
Some checks failed
sample gradle build and test / build (pull_request) Failing after 31s

This commit is contained in:
hitanshu310 2025-05-25 03:38:37 +05:30
parent b0df437a3f
commit 3b3a6dd54c

View File

@ -22,11 +22,11 @@ jobs:
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3 uses: gradle/actions/wrapper-validation@v3
- name: Log in to Gitea Docker Registry - name: Log in to Gitea Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v2
with: with:
registry: 'http://192.168.0.100:8928' registry: http://192.168.0.100:8928
username: hitanshu username: hitanshu
password: ${{ secrets.ACCESS_TOKEN }} password: ${{secrets.ACCESS_TOKEN}}
- name: Gradle build - name: Gradle build
run: ./gradlew bootBuildImage --imageName=http://192.168.0.100:8928/cftunnels:latest . run: ./gradlew bootBuildImage --imageName=http://192.168.0.100:8928/cftunnels:latest .
- name: Push to Gitea Registry - name: Push to Gitea Registry