2
0

ci(deps): remove Docker build jobs from workflows
Some checks failed
Release / build (push) Failing after 32s
Build and Test / build (push) Has been cancelled

This commit is contained in:
2026-01-19 13:17:34 -05:00
parent 750fdae1d6
commit 1d5a7bd6eb
2 changed files with 0 additions and 71 deletions

View File

@@ -33,36 +33,3 @@ jobs:
- name: Test
run: dotnet test GitCaddy.AI.sln -c Release --no-build --verbosity normal
docker:
runs-on: macos-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Configure git for redirects
run: |
git config --global http.https://git.marketally.com/.extraheader "AUTHORIZATION: basic $(echo -n 'x-access-token:${{ github.token }}' | base64 -w0)"
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ secrets.REGISTRY_URL }}/gitcaddy/gitcaddy-ai:latest
${{ secrets.REGISTRY_URL }}/gitcaddy/gitcaddy-ai:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -56,41 +56,3 @@ jobs:
publish/*.zip
nupkg/*.nupkg
generate_release_notes: true
docker:
runs-on: macos-latest
needs: build
steps:
- name: Configure git for redirects
run: |
git config --global http.https://git.marketally.com/.extraheader "AUTHORIZATION: basic $(echo -n 'x-access-token:${{ github.token }}' | base64 -w0)"
- name: Checkout
uses: actions/checkout@v4
- name: Get version from tag
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ secrets.REGISTRY_URL }}/gitcaddy/gitcaddy-ai:latest
${{ secrets.REGISTRY_URL }}/gitcaddy/gitcaddy-ai:${{ steps.version.outputs.VERSION }}
build-args: |
BUILD_CONFIGURATION=Release
cache-from: type=gha
cache-to: type=gha,mode=max