test
Some checks failed
build-and-push / lint (push) Failing after 17s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped

This commit is contained in:
nocci 2026-01-08 13:11:59 +00:00
parent c8624e7ceb
commit f7822786df

View file

@ -95,10 +95,17 @@ jobs:
needs: [lint, sonar]
runs-on: self-hosted
steps:
- name: Network Debugging
run: |
cat /etc/resolv.conf
cat /etc/hosts
ping -c 4 server
getent hosts server
- name: Manual Git Checkout
run: |
git init
git remote add origin ${{ github.server_url }}/${{ github.repository }}.git
git remote add origin http://$(getent hosts server | awk '{ print $1 }')/${{ github.repository }}.git
git fetch --depth 1 origin ${{ github.ref }}
git checkout FETCH_HEAD
@ -107,7 +114,6 @@ jobs:
- name: Login to registry
run: echo "${{ secrets.REG_TOKEN }}" | docker login "${{ secrets.REGISTRY }}" -u "${{ secrets.REG_USER }}" --password-stdin
- name: Build image
run: |
docker buildx build --load \