From fd761d76b3f3656cf866f59bb409603c41637205 Mon Sep 17 00:00:00 2001 From: Ry Jones Date: Sat, 25 Jun 2022 08:07:54 -0700 Subject: [PATCH] Begin transition to GitHub Actions This only builds the images. Disable AZP. Signed-off-by: Ry Jones --- .github/workflows/docker-image.yml | 22 ++++++++++++++++++++++ azure-pipelines.yml | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 000000000..07600a161 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,22 @@ +name: Cello CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build images + run: | + docker build . --file "build_image/docker/common/api-engine/Dockerfile.in" --tag hyperledger/cello-api-engine:$(date +%s) + docker build . --file "build_image/docker/common/nginx/Dockerfile.in" --tag hyperledger/cello-nginx:$(date +%s) + docker build . --file "build_image/docker/common/dashboard/Dockerfile.in" --tag hyperledger/cello-dashboard:$(date +%s) + docker build . --file "build_image/docker/agent/ansible/Dockerfile.in" --tag hyperledger/cello-ansible-agent:$(date +%s) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e7d6dd7c7..fdbf6babf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,11 +17,13 @@ stages: displayName: Check license and documents jobs: - job: CheckLicenseAndDocs + condition: false steps: - template: ci/check-license-and-docs.yml - stage: ProcessComponents displayName: ProcessComponents + condition: false jobs: - template: ci/process-components.yml parameters: