Compare commits
No commits in common. "ca438c9016599598b78621d72880a7d572f59e2b" and "f1c07cea8e82c2442d2d287193392d6c2eb8fbe9" have entirely different histories.
ca438c9016
...
f1c07cea8e
@ -10,12 +10,21 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
|
echo "✅ Manual checkout and workspace setup"
|
||||||
|
echo "Current directory: $(pwd)"
|
||||||
|
echo "Git status:"
|
||||||
|
git status || echo "Not a git repo, fetching code..."
|
||||||
|
|
||||||
- name: Setup .NET
|
# Fazer checkout manual se necessário
|
||||||
uses: actions/setup-dotnet@v4
|
git fetch origin main || echo "Fetch failed"
|
||||||
with:
|
git reset --hard origin/main || echo "Reset failed"
|
||||||
dotnet-version: '8.0.x' # ou sua versão
|
git clean -fd || echo "Clean failed"
|
||||||
|
|
||||||
|
echo "After checkout - Root files:"
|
||||||
|
ls -la
|
||||||
|
echo "Looking for .sln files:"
|
||||||
|
find . -name "*.sln" -type f
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
@ -29,13 +38,7 @@ jobs:
|
|||||||
- name: Publish application
|
- name: Publish application
|
||||||
run: dotnet publish --configuration Release --output ./publish
|
run: dotnet publish --configuration Release --output ./publish
|
||||||
|
|
||||||
- name: Build Docker image 1
|
- name: Build Docker image
|
||||||
run: |
|
|
||||||
docker build -t ytextractor:${{ github.sha }} -f YTExtractor/Dockerfile .
|
|
||||||
docker tag ytextractor:${{ github.sha }} registry.redecarneir.us/ytextractor:latest
|
|
||||||
docker tag ytextractor:${{ github.sha }} registry.redecarneir.us/ytextractor:${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build Docker image 2
|
|
||||||
run: |
|
run: |
|
||||||
echo "Current directory: $(pwd)"
|
echo "Current directory: $(pwd)"
|
||||||
echo "Files in current directory:"
|
echo "Files in current directory:"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user