Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Jun 6, 2024
1 parent 34aa373 commit 26fce0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Extract the container IP from /etc/hosts
CONTAINER_IP=$(grep $(hostname) /etc/hosts | awk '{ print $1 }')
echo "Container IP: $CONTAINER_IP"
CONTAINER_IPV6=$(grep $(hostname) /etc/hosts | grep -o '([a-fA-F0-9:]+:+)+[a-fA-F0-9]+')
CONTAINER_IPV6=
cat /etc/hosts
echo "Container IPv6: $CONTAINER_IPV6"
# Set the container IP as an environment variable
Expand Down

0 comments on commit 26fce0e

Please sign in to comment.