diff --git a/.azure-pipeline/pipeline.yml b/.azure-pipeline/pipeline.yml index 0429963..57ee1f1 100644 --- a/.azure-pipeline/pipeline.yml +++ b/.azure-pipeline/pipeline.yml @@ -146,7 +146,7 @@ stages: displayName: "Publish github image" inputs: containerRegistry: 'GithubServiceConnection' - repository: 'ot-container-kit/k8s-secret-injector/k8s-secret-injector' + repository: 'ot-container-kit/k8s-secret-injector/k8s-secret-injectors' command: 'buildAndPush' Dockerfile: '**/Dockerfile' tags: | diff --git a/scripts/goreleaser.sh b/scripts/goreleaser.sh index 7941534..54dfb76 100755 --- a/scripts/goreleaser.sh +++ b/scripts/goreleaser.sh @@ -13,6 +13,7 @@ compare_version() { version=$(cat VERSION) if ! git tag -l | grep "${version}" then + git checkout master echo "git tag ${version}" git tag "${version}" release