test
This commit is contained in:
parent
c8624e7ceb
commit
f7822786df
1 changed files with 8 additions and 2 deletions
|
|
@ -95,10 +95,17 @@ jobs:
|
||||||
needs: [lint, sonar]
|
needs: [lint, sonar]
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
- name: Network Debugging
|
||||||
|
run: |
|
||||||
|
cat /etc/resolv.conf
|
||||||
|
cat /etc/hosts
|
||||||
|
ping -c 4 server
|
||||||
|
getent hosts server
|
||||||
|
|
||||||
- name: Manual Git Checkout
|
- name: Manual Git Checkout
|
||||||
run: |
|
run: |
|
||||||
git init
|
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 fetch --depth 1 origin ${{ github.ref }}
|
||||||
git checkout FETCH_HEAD
|
git checkout FETCH_HEAD
|
||||||
|
|
||||||
|
|
@ -107,7 +114,6 @@ jobs:
|
||||||
|
|
||||||
- name: Login to registry
|
- name: Login to registry
|
||||||
run: echo "${{ secrets.REG_TOKEN }}" | docker login "${{ secrets.REGISTRY }}" -u "${{ secrets.REG_USER }}" --password-stdin
|
run: echo "${{ secrets.REG_TOKEN }}" | docker login "${{ secrets.REGISTRY }}" -u "${{ secrets.REG_USER }}" --password-stdin
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --load \
|
docker buildx build --load \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue