Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
miro-ring committed Jan 4, 2024
1 parent ac73385 commit 4dcbb11
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
sudo docker login --username AWS --password-stdin ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} &&
containerId=$(sudo docker ps -q -f name=${{ env.IMAGE_NAME }}) &&
imageId=$(sudo docker inspect -f '{{.Image}}' $containerId) &&
if [ \containerId ]; then
echo "miro" &&
echo $containerId &&
echo $imageId &&
if [ $containerId ]; then
sudo docker stop ${{ env.IMAGE_NAME }} &&
sudo docker rm ${{ env.IMAGE_NAME }} &&
sudo docker rmi $imageId
Expand Down

0 comments on commit 4dcbb11

Please sign in to comment.