Merge pull request 'Fix bash syntax for creating a variable' (#14) from fix/pipeline into main
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
2025-10-16 17:51:33 +02:00

View File

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