forked from Hithomelabs/CFTunnels
Compare commits
No commits in common. "workflows" and "main" have entirely different histories.
@ -1,34 +0,0 @@
|
|||||||
name: sample gradle build and test
|
|
||||||
run-name: Build started by $ {{gitea.actor}}
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [test]
|
|
||||||
pull_request:
|
|
||||||
branches: [test]
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: JDK setup
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
- name: Validate Gradle Wrapper
|
|
||||||
uses: gradle/actions/wrapper-validation@v3
|
|
||||||
- name: Check secrets
|
|
||||||
run: echo "my secret is ${{ secrets.TOKEN }}"
|
|
||||||
- name: Log in to Gitea Docker Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: 'http://192.168.0.100:8928'
|
|
||||||
username: hitanshu
|
|
||||||
password: ${{ secrets.TOKEN }}
|
|
||||||
- name: Gradle build
|
|
||||||
run: ./gradlew bootBuildImage --imageName=192.168.0.100:8928/hithomelabs/cftunnels:latest
|
|
||||||
- name: Push to Gitea Registry
|
|
||||||
run: docker push 192.168.0.100:8928/hithomelabs/cftunnels:latest
|
|
||||||
Loading…
Reference in New Issue
Block a user