Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Hello azure my old friend
  • Loading branch information
hardbyte committed Mar 1, 2020
commit f912c649a7a0c58991da7fd47e89e4a098c924b0
5 changes: 2 additions & 3 deletions .azurePipeline/templateDockerBuildPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ jobs:
docker login -u $(dockerHubId) -p $(dockerHubPassword)
displayName: 'Dockerhub login'
- script: |

if [[ -z "${{ parameters.dockerBuildVersion }}" ]]; then
if [[ -z "$DOCKER_BUILD_VERSION" ]]; then
DOCKER_BUILD_ARGS=""
else
DOCKER_BUILD_ARGS="--build-arg VERSION=${{ parameters.dockerBuildVersion }}"
DOCKER_BUILD_ARGS="--build-arg VERSION=$DOCKER_BUILD_VERSION"
fi
echo "Variable DOCKER_BUILD_ARGS = \"$DOCKER_BUILD_ARGS\""

Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ stages:
jobName: 'anonlink_app'
dependsOn: HashBaseDependencies
imageName: data61/anonlink-app
# this part is still todo automated
#dockerBuildVersion: "9e015cb563319b280895f786a9f3647c5e5e43a81966e85d0a8c0a2424f94fde"
dockerBuildVersion: "$[dependencies.HashBaseDependencies.outputs['SetDockerBaseTag.DOCKER_BASE_TAG']]"


Expand Down