From 8d83c557585c6cf92d6301e9de3f5159fc54ba19 Mon Sep 17 00:00:00 2001 From: ramblingcoder Date: Sun, 8 Feb 2026 19:54:40 -0600 Subject: [PATCH] Update GITEA.md --- GITEA.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/GITEA.md b/GITEA.md index 18a3781..2256707 100644 --- a/GITEA.md +++ b/GITEA.md @@ -2,11 +2,10 @@ Gitea runner's function exactly the same as GitHub runners. They're just stored in the .gitea folder instead of .github folder. -## Ramblingcoder Gitea +## Docker +Gitea supports storing docker images. -There is a private Gitea repository that docker images are pushed too. This is an example of a gitea action that creates and pushes an image. - -The image `gitea-runner-custom-image` has docker and docker-compose pre-installed. +This is an example of a gitea action that creates and pushes an image. ```yaml name: Build and Push Docker Image @@ -21,18 +20,16 @@ on: jobs: build: runs-on: ubuntu-latest - container: - image: git.ramblingcoder.com/ramblingcoder/gitea-runner-custom-image:latest - credentials: - username: ${{ secrets.GIT_USERNAME }} - password: ${{ secrets.GIT_PASSWORD }} steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Docker Registry - uses: https://git.ramblingcoder.com/Mirror.Actions/docker-login-action@v3 + uses: docker/login-action@v3 with: registry: git.ramblingcoder.com username: ${{ secrets.GIT_USERNAME }} @@ -40,8 +37,8 @@ jobs: - name: Build Image run: | - docker build -t git.ramblingcoder.com/ramblingcoder/REPLACETHIS -f docker/Dockerfile . + docker build -t git.ramblingcoder.com/USER_HERE/IMAGE_HERE -f docker/Dockerfile . - name: Push Image - run: docker push git.ramblingcoder.com/ramblingcoder/REPLACETHIS -``` + run: docker push git.ramblingcoder.com/USER_HERE/IMAGE_HERE +``` \ No newline at end of file