Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago2436 committed Oct 31, 2023
1 parent b10962d commit 3b22171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ stages:
steps:
- script: |
echo "parando container"
docker stop $(docker ps -q --filter "ancestor=thiagomartinsemartins/deskflora" --filter "publish=$PORT:80")
docker stop $(docker ps -q --filter "ancestor=thiagomartinsemartins/deskflora")
echo "Pulling the new image from Docker Hub..."
docker pull thiagomartinsemartins/deskflora:$(tag)
echo "Starting the new container..."
docker run -d -p $PORT:80 thiagomartinsemartins/deskflora:$(tag)
displayName: 'Deploy container'
#--filter "publish=$PORT:80"

0 comments on commit 3b22171

Please sign in to comment.