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 af30a78 commit 1c65276
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
echo "miro2" &&
sudo docker stop ${{ env.IMAGE_NAME }} &&
sudo docker rm ${{ env.IMAGE_NAME }} &&
sudo docker rmi $(sudo docker inspect -f '{{.Image}}' $(sudo docker ps -q -f name=${{ env.IMAGE_NAME }}))
ID=$(sudo docker inspect -f '{{.Image}}' $(sudo docker ps -q -f name=${{ env.IMAGE_NAME }})) &&
echo "ID=$ID" >> $GITHUB_ENV &&
sudo docker rmi ${{ env.ID }}
fi &&
sudo docker image pull ${{ steps.meta.outputs.tags }} &&
sudo docker container run --name ${{ env.IMAGE_NAME }} -d -p 3000:3000 ${{ steps.meta.outputs.tags }}"

0 comments on commit 1c65276

Please sign in to comment.