workflows #2

Merged
hitanshu merged 19 commits from hitanshu/CFTunnels:workflows into workflows 2025-05-24 23:03:14 +00:00
Showing only changes of commit 68a66b3388 - Show all commits

View File

@ -9,6 +9,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
@ -20,13 +22,13 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Check secrets
run: echo "my secret is ${{ vars.TOKEN }}"
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: ${{ vars.TOKEN }}
password: ${{ secrets.TOKEN }}
- name: Gradle build
run: ./gradlew bootBuildImage --imageName=192.168.0.100:8928/hithomelabs/cftunnels:latest
- name: Push to Gitea Registry