Fixing docker login
Some checks failed
sample gradle build and test / build (pull_request) Failing after 45s
Some checks failed
sample gradle build and test / build (pull_request) Failing after 45s
This commit is contained in:
parent
acd137c8ce
commit
86a503f88f
@ -20,7 +20,11 @@ jobs:
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/actions/wrapper-validation@v3
|
||||
- name: Log in to Gitea Docker Registry
|
||||
run: docker login http://192.168.0.100:8928 -u hitanshu -p ${{ secrets.ACCESS_TOKEN }}
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: 'http://192.168.0.100:8928'
|
||||
username: ${{ secrets.GITEA_USERNAME }}
|
||||
password: ${{ secrets.GITEA_ACCESS_TOKEN }}
|
||||
- name: Gradle build
|
||||
run: ./gradlew bootBuildImage --imageName=http://192.168.0.100:8928/cftunnels:latest .
|
||||
- name: Push to Gitea Registry
|
||||
|
||||
Loading…
Reference in New Issue
Block a user