From 1d4b8b26b9e3f680fd6b4cc7882bd1a6184c1132 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Thu, 24 Oct 2024 21:07:48 +0800 Subject: [PATCH] [ci] move Docker build test job to GitHub actions Signed-off-by: Gary Guo --- .github/workflows/ci.yml | 17 +++++++++++++++++ azure-pipelines.yml | 22 ---------------------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 771ecda89eea9..2872c5cc30096 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -155,3 +155,20 @@ jobs: suggest_fixes: 'false' config_file: ${{ env.verible_config }} extra_args: "--waiver_files=verible_waiver" + + build_docker_containers: + name: Build Docker Containers + runs-on: ubuntu-20.04 + needs: quick_lint + steps: + - uses: actions/checkout@v4 + - name: Build Developer Utility Container + uses: docker/build-push-action@v6 + with: + context: . + file: util/container/Dockerfile + continue-on-error: true + - name: Build Documentation Redirector Container + uses: docker/build-push-action@v6 + with: + context: site/redirector/landing diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f7bbcce97596c..b23b2c7067c08 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -643,25 +643,3 @@ jobs: addChangeLog: false assets: | $(Build.ArtifactStagingDirectory)/dist-final/* - -- job: build_docker_containers - displayName: "Build Docker Containers" - pool: - vmImage: ubuntu-20.04 - dependsOn: - - lint - steps: - - template: ci/checkout-template.yml - - task: Docker@2 - displayName: Build Developer Utility Container - continueOnError: True - inputs: - command: build - Dockerfile: ./util/container/Dockerfile - buildContext: . - - task: Docker@2 - displayName: Build Documentation Redirector Container - inputs: - command: build - Dockerfile: ./site/redirector/landing/Dockerfile - buildContext: ./site/redirector/landing