added in gitea actions
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 10s

This commit is contained in:
2026-01-13 16:09:38 -05:00
parent 7de7047a4d
commit c7c3cce76d

View File

@@ -22,16 +22,16 @@ jobs:
echo "tag=next" >> $GITHUB_OUTPUT
fi
- name: Build Docker Image
run: |
docker build -t gitea-server:3000/ryan/chore:${{ steps.vars.outputs.tag }} .
- name: Resolve Gitea Server IP
id: gitea_ip
run: |
ip=$(getent hosts gitea-server | awk '{ print $1 }')
echo "ip=$ip" >> $GITHUB_OUTPUT
- name: Build Docker Image
run: |
docker build -t ${{ steps.gitea_ip.outputs.ip }}:3000/ryan/chore:${{ steps.vars.outputs.tag }} .
- name: Log in to Registry
uses: docker/login-action@v2
with: