fix(cicd): debug docker connectivity
This commit is contained in:
parent
f35fc3f559
commit
c6e6dca0d7
|
|
@ -2,19 +2,33 @@ name: Build & Publish DevSecOps Runner
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-runner:
|
build-and-push-runner:
|
||||||
name: Build & Publish Runner Image to Giteastry
|
name: Build & Publish Runner Image to Giteastry
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Diagnostic Docker
|
||||||
|
run: |
|
||||||
|
echo "=== ENV ==="
|
||||||
|
env | grep -i docker || true
|
||||||
|
|
||||||
|
echo "=== DOCKER VERSION ==="
|
||||||
|
docker version || true
|
||||||
|
|
||||||
|
echo "=== DOCKER INFO ==="
|
||||||
|
docker info || true
|
||||||
|
|
||||||
- name: Authentification Giteastry
|
- name: Authentification Giteastry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login git.gorym.net -u ${{ gitea.actor }} --password-stdin
|
echo "${{ secrets.GITEA_TOKEN }}" | docker login git.gorym.net \
|
||||||
|
-u "${{ gitea.actor }}" \
|
||||||
|
--password-stdin
|
||||||
|
|
||||||
- name: Build Image Runner
|
- name: Build Image Runner
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue