diff --git a/Docker/DockerHub.MD b/Docker/DockerHub.MD index 500f6a9e9..a5720a039 100644 --- a/Docker/DockerHub.MD +++ b/Docker/DockerHub.MD @@ -1,4 +1,5 @@ ## What is Docker Hub Registry +## edited for triggering job Docker Hub is a cloud-based registry service which allows you to link to code repositories, build your images and test them, stores manually pushed images, and links to Docker Cloud so you can deploy images to your hosts. It provides a centralized resource for container image discovery, distribution and change management, user and team collaboration, and workflow automation throughout the development pipeline. diff --git a/Docker/Docker_Commands.MD b/Docker/Docker_Commands.MD index b5d3be843..d59b96baf 100644 --- a/Docker/Docker_Commands.MD +++ b/Docker/Docker_Commands.MD @@ -1,4 +1,4 @@ - +editing code for pipeline triggers 1. how to search a docker image in hub.docker.com ```sh docker search httpd diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..738a203b6 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,20 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master +- develop + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script'