workflow changed
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 3s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 3s
This commit is contained in:
parent
ca03458a46
commit
ad15f828fb
@ -10,23 +10,43 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Configure Git SSL
|
- name: Debug Network
|
||||||
run: |
|
run: |
|
||||||
git config --global http.sslVerify false
|
curl -v https://git.***falcon.com/ || true
|
||||||
git config --global --add safe.directory /workspace/*
|
ping -c 4 git.***falcon.com || true
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Setup Git
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git config --global http.sslVerify false
|
||||||
token: ${{ secrets.Pat }}
|
git config --global --add safe.directory '*'
|
||||||
fetch-depth: 1
|
# Add verbose debugging
|
||||||
submodules: false
|
export GIT_CURL_VERBOSE=1
|
||||||
|
export GIT_TRACE=1
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Manual Checkout
|
||||||
run: echo "${{ secrets.PAT }}" | docker login git.asherfalcon.com -u ${{ secrets.USERNAME }} --password-stdin
|
run: |
|
||||||
|
git init
|
||||||
|
git remote add origin "https://${{ secrets.Pat }}@git.***falcon.com/***/***falcon.com.git"
|
||||||
|
git fetch --depth 1 origin main
|
||||||
|
git checkout main
|
||||||
|
# steps:
|
||||||
|
# - name: Configure Git SSL
|
||||||
|
# run: |
|
||||||
|
# git config --global http.sslVerify false
|
||||||
|
# git config --global --add safe.directory /workspace/*
|
||||||
|
|
||||||
- name: Build Docker image
|
# - name: Checkout repository
|
||||||
run: docker build -t git.asherfalcon.com/asher/asherfalcon.com:latest .
|
# uses: actions/checkout@v4
|
||||||
|
# with:
|
||||||
|
# token: ${{ secrets.Pat }}
|
||||||
|
# fetch-depth: 1
|
||||||
|
# submodules: false
|
||||||
|
|
||||||
- name: Push Docker image
|
# - name: Log in to Gitea Container Registry
|
||||||
run: docker push git.asherfalcon.com/asher/asherfalcon.com:latest
|
# run: echo "${{ secrets.PAT }}" | docker login git.asherfalcon.com -u ${{ secrets.USERNAME }} --password-stdin
|
||||||
|
|
||||||
|
# - name: Build Docker image
|
||||||
|
# run: docker build -t git.asherfalcon.com/asher/asherfalcon.com:latest .
|
||||||
|
|
||||||
|
# - name: Push Docker image
|
||||||
|
# run: docker push git.asherfalcon.com/asher/asherfalcon.com:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user