workflow changed
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m2s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m2s
This commit is contained in:
parent
a222308d1e
commit
a59410e86c
@ -9,44 +9,44 @@ jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Debug Network
|
||||
run: |
|
||||
curl -v https://git.asherfalcon.com/ || true
|
||||
ping -c 4 git.asherfalcon.com || true
|
||||
|
||||
- name: Setup Git
|
||||
run: |
|
||||
git config --global http.sslVerify false
|
||||
git config --global --add safe.directory '*'
|
||||
# Add verbose debugging
|
||||
export GIT_CURL_VERBOSE=1
|
||||
export GIT_TRACE=1
|
||||
|
||||
- name: Manual Checkout
|
||||
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: Debug Network
|
||||
# run: |
|
||||
# curl -v https://git.asherfalcon.com/ || true
|
||||
# ping -c 4 git.asherfalcon.com || true
|
||||
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# token: ${{ secrets.Pat }}
|
||||
# fetch-depth: 1
|
||||
# submodules: false
|
||||
# - name: Setup Git
|
||||
# run: |
|
||||
# git config --global http.sslVerify false
|
||||
# git config --global --add safe.directory '*'
|
||||
# # Add verbose debugging
|
||||
# export GIT_CURL_VERBOSE=1
|
||||
# export GIT_TRACE=1
|
||||
|
||||
# - name: Log in to Gitea Container Registry
|
||||
# run: echo "${{ secrets.PAT }}" | docker login git.asherfalcon.com -u ${{ secrets.USERNAME }} --password-stdin
|
||||
# - name: Manual Checkout
|
||||
# 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
|
||||
# run: docker build -t git.asherfalcon.com/asher/asherfalcon.com:latest .
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.Pat }}
|
||||
fetch-depth: 1
|
||||
submodules: false
|
||||
|
||||
# - name: Push Docker image
|
||||
# run: docker push git.asherfalcon.com/asher/asherfalcon.com:latest
|
||||
- name: Log in to Gitea Container Registry
|
||||
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