Fix bash syntax for creating a variable
Some checks failed
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing

This commit is contained in:
2025-10-16 17:48:05 +02:00
parent 1226c42f19
commit 789ba35c60

View File

@@ -42,7 +42,7 @@ steps:
- name: docker build and push
image: docker:24.0.7
commands:
- $dockerImageWithTag = "$docker_registry$docker_repo:$DRONE_BRANCH"
- dockerImageWithTag="$docker_registry$docker_repo:$DRONE_BRANCH"
- docker build . -t $dockerImageWithTag
- echo $docker_password | docker login --username $docker_username --password-stdin $docker_registry
- docker push $dockerImageWithTag