From 35c4fcb9bbf7bfb903d6df52b8bcbb403e7fc91e Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Tue, 13 Jan 2026 16:03:12 -0500 Subject: [PATCH] added in gitea actions --- .gitea/workflows/build.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 027048a..496af9b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,12 +10,6 @@ jobs: build-and-push: runs-on: ubuntu-latest steps: - - name: Resolve Gitea Server IP - run: | - ip=$(getent hosts gitea-server | awk '{ print $1 }') - echo "$ip" > /tmp/gitea_ip.txt - cat /tmp/gitea_ip.txt - - name: Check out repository code uses: actions/checkout@v3 @@ -36,13 +30,11 @@ jobs: id: gitea_ip run: | ip=$(getent hosts gitea-server | awk '{ print $1 }') - echo "GITEA_IP=$ip" >> $GITHUB_ENV - getent hosts gitea-server | awk '{ print $1 }' - name: Log in to Registry uses: docker/login-action@v2 with: - registry: gitea-server:3000 # Replace with your Gitea registry URL + registry: ${{ steps.gitea_ip.outputs.ip }}:3000 username: ryan #${{ secrets.REGISTRY_USERNAME }} # Stored as a Gitea secret password: 0x013h #${{ secrets.REGISTRY_TOKEN }} # Stored as a Gitea secret (use a PAT here)