Skip to content

Commit

Permalink
GB3-1658: Cleaned up azure pipeline templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
wendlans committed Sep 3, 2024
1 parent 5ccd95e commit d29edad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
12 changes: 5 additions & 7 deletions .azure-pipelines/templates/build-docker.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
steps:
- task: Docker@2
displayName: Build
displayName: Docker build
inputs:
command: build
repository: $(imageRepository)
dockerfile: $(dockerfilePath)
containerRegistry: $(dockerRegistryServiceConnection)
tags: |
$(tag)
arguments: '--build-arg SUBFOLDER='
repository: 'gb3-grav-cms'
dockerfile: '**/Dockerfile'
tags: 'latest'
arguments: '--build-arg SUBFOLDER='
12 changes: 0 additions & 12 deletions .azure-pipelines/templates/variables.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,2 @@
variables:
# Container registry service connection established during pipeline creation
dockerRegistryServiceConnection: 'gb3connection'
imageRepository: 'gb3-grav-cms'
containerRegistry: '***REMOVED***'
dockerfilePath: '**/Dockerfile'
tag: 'latest' # '$(Build.BuildId)'
containerApp: 'gb3-grav-cms'
resourceGroup: '***REMOVED***'
azureSubscription: '***REMOVED***'
azureResourceManagerServiceConnection: '***REMOVED***'

# Agent VM image name
vmImageName: 'ubuntu-latest'

0 comments on commit d29edad

Please sign in to comment.