added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 0s
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 0s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user