added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 0s

This commit is contained in:
2026-01-13 15:52:57 -05:00
parent 7b91d2c8a4
commit 92020e68ce

View File

@@ -9,7 +9,16 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: ubuntu-latest
volumes:
- /tmp/gitea_ip.txt:/gitea_ip.txt
steps:
- name: Resolve Gitea Server IP
run: |
ip=$(getent hosts gitea-server | awk '{ print $1 }')
echo "$ip" > /tmp/gitea_ip.txt
- name: Check out repository code
uses: actions/checkout@v3