--- kind: pipeline type: docker name: package clone: disable: true steps: - name: manual-clone image: alpine/git commands: - git clone https://gitea.khongisa.co.za/MngomaLab/webapitest.git . - git checkout ${DRONE_COMMIT} - name: dotnet publish image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - dotnet publish --configuration Release - ls ./SampleApi/bin/Release/net8.0/publish/ - name: docker build and push image: plugins/docker settings: debug: true repo: khwezi/mngomalab registry: index.docker.io username: from_secret: docker_username password: from_secret: docker_password dockerfile: Dockerfile context: . tags: - latest - ${DRONE_BUILD_NUMBER}