Fixing docker login
Some checks failed
sample gradle build and test / build (pull_request) Failing after 18s
Some checks failed
sample gradle build and test / build (pull_request) Failing after 18s
This commit is contained in:
parent
3b3a6dd54c
commit
fd61644306
@ -21,12 +21,14 @@ jobs:
|
||||
java-version: '17'
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/actions/wrapper-validation@v3
|
||||
- name: Check secrets
|
||||
run: echo "my secret is ${{ secrets.ACCESS_TOKEN }}"
|
||||
- name: Log in to Gitea Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: http://192.168.0.100:8928
|
||||
registry: 'http://192.168.0.100:8928'
|
||||
username: hitanshu
|
||||
password: ${{secrets.ACCESS_TOKEN}}
|
||||
password: ${{ secrets.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