Fixing docker login
Some checks failed
sample gradle build and test / build (pull_request) Failing after 15s
Some checks failed
sample gradle build and test / build (pull_request) Failing after 15s
This commit is contained in:
parent
0d67c2f330
commit
acd137c8ce
@ -19,14 +19,8 @@ jobs:
|
||||
java-version: '17'
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/actions/wrapper-validation@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Log in to Gitea Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: 'http://192.168.0.100:8928'
|
||||
username: hitanshu
|
||||
password: ${{ secrets.ACCESS_TOKEN }}
|
||||
run: docker login http://192.168.0.100:8928 -u hitanshu -p ${{ 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