Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running az acr build-task create doesn't fail when -n already exists #90

Closed
SteveLasker opened this issue Apr 28, 2018 · 1 comment
Closed
Labels

Comments

@SteveLasker
Copy link
Contributor

Running this script multiple times simply updates the build-task. Somewhat interesting, but shouldn't this fail as I wouldn't want to override an existing build task

az acr build-task create \
  -n demo42quotesapi \
  --context https://github.com/demo42/quotes -t demo42/quotes-api:{{.Build.ID}} \
  -f ./src/QuoteService/Dockerfile \
  --git-access-token <redacted> \
  --build-arg NAME=VALUE \
  --registry jengademos 
@SteveLas SteveLas added the bug label Apr 30, 2018
@sajayantony
Copy link
Contributor

Build task is a resource and hence recreation of the same resource when it exists doesn't fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants