initial commit
This commit is contained in:
commit
0a4114ebb9
5 changed files with 35 additions and 0 deletions
14
.drone.yml
Normal file
14
.drone.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
kind: pipeline
|
||||
name: deploy
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/egress-test
|
||||
tags:
|
||||
- latest
|
||||
- {{ .build.commit }}
|
4
Dockerfile
Normal file
4
Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM alpine:3.17.2
|
||||
RUN apk add --no-cache curl
|
||||
ADD script.sh /script.sh
|
||||
ENTRYPOINT ["/script.sh"]
|
0
README.md
Normal file
0
README.md
Normal file
3
renovate.json
Normal file
3
renovate.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
14
script.sh
Executable file
14
script.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
while :
|
||||
do
|
||||
echo ""
|
||||
echo "####################"
|
||||
date
|
||||
echo "IPv4:"
|
||||
curl -sL4 ip.hetzner.com
|
||||
echo "IPv6:"
|
||||
curl -sL6 ip.hetzner.com
|
||||
echo "####################"
|
||||
echo ""
|
||||
sleep 300
|
||||
done
|
Reference in a new issue