From 9ffc2aa73f76e76d64e8b19ed203ccf877de9bc5 Mon Sep 17 00:00:00 2001 From: Brave_Master <30571597+BraveJongen@users.noreply.github.com> Date: Fri, 25 Aug 2023 20:13:14 +0200 Subject: [PATCH 1/2] Set up CI with Azure Pipelines creating docker image based on pipeline YAML file [skip ci] --- azure-pipelines.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..b6d9a4ea8 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,29 @@ +# Docker +# Build a Docker image +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- main + +resources: +- repo: self + +variables: + tag: '$(Build.BuildId)' + +stages: +- stage: Build + displayName: Build image + jobs: + - job: Build + displayName: Build + pool: + vmImage: ubuntu-latest + steps: + - task: Docker@2 + displayName: Build an image + inputs: + command: build + dockerfile: '$(Build.SourcesDirectory)/Dockerfile' + tags: | + $(tag) From 24f05255ede1b17042d1ea88a682e01ceecdee0c Mon Sep 17 00:00:00 2001 From: Brave_Master <30571597+BraveJongen@users.noreply.github.com> Date: Fri, 25 Aug 2023 20:20:54 +0200 Subject: [PATCH 2/2] Set up CI with Azure Pipelines 1st commit [skip ci] --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b6d9a4ea8..a4bd495b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,5 @@ # Docker -# Build a Docker image +# Build a Docker image based on YAML file # https://docs.microsoft.com/azure/devops/pipelines/languages/docker trigger: