From 840dd46723f7e0fb7615bb6cf9cb6cbf770e4ade Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 17 Dec 2024 00:08:55 -0300 Subject: [PATCH] chore: disable api CI --- .github/workflows/container.yml | 62 ++++++++++++++++----------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 3b2e5cc..70a80d3 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -95,37 +95,37 @@ jobs: cache-to: type=inline platforms: linux/amd64 - build-and-push-api-amd64: - name: "[amd64] oci:api" - runs-on: ubicloud-standard-16 - permissions: - contents: read - packages: write - steps: - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/api - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: "{{defaultContext}}:rust/" - file: api.Dockerfile - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - cache-to: type=inline - platforms: linux/amd64 + # build-and-push-api-amd64: + # name: "[amd64] oci:api" + # runs-on: ubicloud-standard-16 + # permissions: + # contents: read + # packages: write + # steps: + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 + # - name: Log in to the Container registry + # uses: docker/login-action@v3 + # with: + # registry: ${{ env.REGISTRY }} + # username: ${{ github.actor }} + # password: ${{ secrets.GITHUB_TOKEN }} + # - name: Extract metadata (tags, labels) for Docker + # id: meta + # uses: docker/metadata-action@v5 + # with: + # images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/api + # - name: Build and push Docker image + # uses: docker/build-push-action@v5 + # with: + # context: "{{defaultContext}}:rust/" + # file: api.Dockerfile + # push: true + # tags: ${{ steps.meta.outputs.tags }} + # labels: ${{ steps.meta.outputs.labels }} + # cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + # cache-to: type=inline + # platforms: linux/amd64 # build-and-push-scraper-arm64: # name: "[arm64] oci:scraper"