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: